PostNew in CSS 3

CSS

Just in case you wondered what’s coming with CSS 3 here are 3 of the most interesting features.

Border-Radius


Before

After

CSS Code: -moz-border-radius: 10px; -webkit-border-radius: 10px;

Works in Firefox 3 and Safari 3

Opacity


Before

After

CSS Code: opacity: 0.6;

Outline Offset


Before

After

CSS Code: outline: 2px solid orange; outline-offset: 4px;

At the moment these work in Firefox 3, Safari 3 and Opera. As usual, the good stuff doesn’t work in Internet Explorer.

Stay Connected

Subscribe to RSS Feed

Subscribe to RSS Feed

Follow me on Twitter

Follow me on Twitter

Subscribe via e-mail

Subscribe via e-mail