I just read this post at StylizedWeb about MoreCSS which is a Javascript library following the CSS syntax!
For example, the code below will add the class “red” to div#test p:timer after 1000ms
div#test p:timer=1000 { add-class: red; }
And this code will create an popup alert box:
.say_hello:active { execute: alert(“Hello there!” ); }
Check it out, and look at some of the things you can do with it! I’m definitely going to try a few things out.
