JSS – Nested CSS using Javascript

Update: I have worked on a newer version with more features and a PHP conversion, here.

Ever wanted nested stylesheets?

I have!

Now you can have them! If you code your stylesheets as JSON and parse them using JSS 0.1. You could have the following:

Turned into:

You can get it here or view the test page here.

Leave a Reply

Your email address will not be published. Required fields are marked *