Improving CSS

| | Comments (0) | TrackBacks (0)
Of the trinity of web technologies, CSS is by far the worst at this stage. It's a language that begs for more power.

Wouldn't it be cool if you could do this?

@variables { NEAR_INFINITY_ORANGE: #C96522; } div.header { background-color: var(NEAR_INFINITY_ORANGE); }

or do property transitions like this: div { opacity: 0; transition: opacity 1s linear; } div:hover { opacity: 1; }

or do transformations on elements? #downloadLink { transform: rotate(10deg) }

... well it's coming, and in some cases already here. The last two are already working in Safari 3.1 and there is a spec for CSS variables.

Hopefully we are past those days where a spec is released, but no one could use it until 5 years later. Ajax took ~6 years for crying out loud.

twitter: jharwig

Leave a comment

0 TrackBacks

Listed below are links to blogs that reference this entry: Improving CSS.

TrackBack URL for this entry: http://www.nearinfinity.com/mt/mt-tb.cgi/446