Jump to content


Difference between CSS3 and CSS2

  • Please log in to reply
No replies to this topic

#1 pyasi.arun



  • Members
  • Pip
  • 8 posts

Posted 20 June 2013 - 07:04 AM

Main differences

Maybe the biggest difference between CSS2 and CSS3 is the separation of modules. While in the previous version everything was a large single specification defining different features, CSS3 is divided into several documents which are called modules. Every single module has new capabilities, without hurting the compatibility of the previous stable release. When we talk about modules, we can name more than fifty of them, however four of these have been published as formal recommendations. The big four is comprised of the following:

-Media Queries (published in 2012)
-Namespaces (published in 2011)
-Selectors Level 3 (published in 2011)
-Color (published in 2011)

[/size]The media queries might well be the most important addition to CSS. What it does is simple: it allows certain conditions to be applied to different stylesheets, making websites fluid and fit all kinds of screen sizes. Media queries allow developers to tailor to different resolutions without having to change or remove content.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users