Python classes to generate CSS

Posted by in Idea, Software

A while ago I got fed up with CSS and its cumbersomeness. As my poison of choice is python, I was thinking it would be quite useful to have a bunch of classes capable of generating CSS automatically in python. One could have a base class, a set of properties, a name-value dictionary and a way to nest them nicely so we could emulate LESS/SCSS.

The idea is to use the power of python (or whatever language you’d want), with nesting etc. so we allow non-web designers mess around with structures they are familiar with. Integration in e.g. django with caching would be piece of cake :)

I just hope I’ll get around to it someday


A little experiment: If you find this post and ad below useful, please check the ad out :-)