Friday, July 30, 2010

The Difference between CSS2 and CSS3

Many exciting new functions and features are being lined up for CSS3. I have showcase some of them on this post.

Here they are:

Borders

* border-color
* border-image
* border-radius
* box-shadow

Backgrounds

* background-origin and background-clip
* background-size
* multiple backgrounds

Color

* HSL colors
* HSLA colors
* opacity
* RGBA colors

Text effects

* text-shadow
* text-overflow
* word-wrap

User-interface

* box-sizing
* resize
* outline
* nav-top, nav-right, nav-bottom, nav-left

Selectors

* attribute selectors

Basic box model

* overflow-x, overflow-y

Generated Content

* content

Other modules

* media queries
* multi-column layout
* Web fonts
* speech

No comments:

Post a Comment