Hacker News new | past | comments | ask | show | jobs | submit login

Hi all,

I created Distinguish because I was frustrated with how messy naming CSS classes and IDs can be. There was (for me at least) no simple system that could reduce class names and work across any file extensions. So I reasoned that employing the author to add a little extra information to the class name (the "_cls-" prefix) was a reasonable compromise that only adds clarity and intent.

I've used Google's Closure Stylesheets before to great results, but it depends on a very specific build system. My intent with Distinguish is for it to be very lightweight, modular, and fast (and it can work for any type, not just CSS classes and IDs, though that's what I've found the most useful).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: