Reme Le Hane

Poll Results: How do you order your CSS properties?

Over 10,000 people have spoken: the most popular way to order CSS properties is grouped by type.

This is how the votes broke down:

Grouped by type (45%) was fairly closely followed up by Randomly (39%). Much less popular was Alphabetic (14%) and only a few folks using Line length (2%).

For the record, Grouped by type would be like this (heavily borrowed from Nicolas Gallagher’s Idiomatic CSS): .selector { /* Positioning */ position: absolute; z-index: 10; top: …

Poll Results: How do you order your CSS properties? is a post from CSS-Tricks http://goo.gl/NpYlg Reme Le Hane


To Tumblr, Love PixelUnion