CSS Just Keeps Getting Better
CSS Just Keeps Getting Better
I was looking at the CSS3 Backgrounds and Borders Module
on the W3C's website today and all I have to say is “Wow! CSS Just
keeps getting better.” The new module includes some really nifty stuff
include the ability to round the corners of borders. Graphic
design-oriented web developers have been wanting this for a while and
although it is possible to fake it using images. Another helpful
graphic design add-in to the specification is box-shadow which allows
designers to add a drop shadow to a box. This is a very nifty effect
that I have thus far only seen created using graphics. The new
specifications are a much more elegant solution to these problems.
In addition, there are other new properties like background-clip
which allows you to decide if you want your background image to extend
into the border area or not; and background-origin which helps
determine where the background starts. Hopefully, this will help in the
quest to make pages look more uniform across browsers since one problem
with current web browsers is that they all don't agree where 0,0 is!