Use camelCase, hyphens or underscores in CSS?

This is really a great discussion. I’m a fan of camelCase but if I use a CMS like WordPress, many of the themes are using hyphens and the inconsistencies from my custom CSS and the WordPress CSS drives me nuts. css-tricks did a poll on it and I found this article where a guy made some great points against camelCase but after reading all the comments and weighing the pros and cons I think camelCase is the winner.

What do you think?

Leave a Reply

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