Credit Card IconEnquiring about a charge on your credit card? Find out who we are, what we do and what is the charge about.

 

VeerWest.com

Company Blog about Software as a Service and Entrepreneurship.

 

Veer West Log

About web development, software as a service and entrepeneurship.

Archive for the 'Web Development' Category

Alex Russell’s @importRule

Friday, September 21st, 2007

So Alex Russell (of Dojo fame), not too happy about where CSS3 is going, suggests of a few more important things that should be considered for inclusion in the CSS standard. For instance, an @importRule directive.

Several commenters have pointed out that @importRule would not be that useful since you can already assign more than one CSS class to an element.

However, having (apparently) some time to waste this morning, I thought it would be interesting to implement this pseudo css rule anyway.

Here’s the example page, with a short explanation of the (very simplistic) javascript:

Again, I’m not claiming that this is very useful, but if one wanted to create a javascript css post-processor, that would be a good way to start.