Difference Between CSS, CSS2 and CSS3


CSS (Cascading Style Sheet ) has various levels. 

Each level of CSS builds upon the last, typically adding new features and typically denoted as CSS1, CSS2, and CSS3. 

Profiles are typically a subset of All levels of CSS built for a particular device or user interface. Currently there are profiles for mobile devices, printers, and television sets. Profiles should not be confused with media types which were added in CSS2.

CSS1
The first CSS specification to become an official W3C Recommendation is CSS1, published in December 1996.

Among its capabilities are support for:

1) Font properties such as typeface and emphasis
2) Color of text, backgrounds, and other elements
3) Text attributes such as spacing between words, letters, and lines of text
4) Alignment of text, images, tables and other elements
5) Margin, border, padding, and positioning for most elements
6) Unique identification and generic classification of groups of attributes

The W3C maintains the CSS1 Recommendation.

CSS2
CSS2 was developed by the W3C and published as a Recommendation in May 1998. 

A superset of CSS1, CSS2 includes a number of new capabilities like absolute, relative, and fixed positioning of elements, the concept of media types, support for aural style sheets and bidirectional text, and new font properties such as shadows. The W3C maintains the CSS2 Recommendation.

CSS level 2 revision 1 or CSS 2.1 fixes errors in CSS2, removes poorly-supported features and adds already-implemented browser extensions to the specification. While it was a Candidate Recommendation for several months, on 15 June 2005 it was reverted to a working draft for further review.

It was returned to Candidate Recommendation status on 19 July 2007.


CSS3
CSS level 3 is currently under development.

The W3C maintains a CSS3 progress report. As with the evolving XHTML specification, CSS3 is modularized and will consist of several separate Recommendations. An Introduction to CSS3 roadmap will be the starting point.

The biggest difference between CSS2 and CSS3 is that CSS3 has been split up into different sections, called modules. Each of these modules is making it's way through the W3C in various stages of the recommendation process.

Comments

  1. CSS3 is the latest evolution of the Cascading Style Sheets language and aims at extending CSS2.1. It brings a lot of long-awaited novelties, like rounded corners, shadows, gradients, transitions or animations, as well as new layouts like multi-columns, flexible box or grid layouts. Experimental parts are vendor-prefixed and should either be avoided in production environments, or used with extreme caution as both their syntax and semantics can change in the future. Click here to know More about AngularJS

    ReplyDelete
  2. i am learning programing. not for a career in computers, but as a skill to add to my resume for basic web editing.
    do i need to know the difference between 1, 2, and 3?

    ReplyDelete
  3. Short and very important explanation. Good Job..

    ReplyDelete
  4. Good Information shared with people who are looking for this, Thanks for providing Angularjs Online course

    ReplyDelete

Post a Comment