Skip to main content
CSS-Tricks
  • Articles
  • Videos
  • Almanac
  • Newsletter
  • Guides
  • DigitalOcean
  • DO Community
Search

Articles Tagged
ordering properties

5 Articles
{
,

}
Direct link to the article Organize your CSS declarations alphabetically
ordering properties organization

Organize your CSS declarations alphabetically

Eric, again not mincin’ no words with blog post titles. This is me:

The most common CSS declaration organization technique I come across is none whatsoever.

Almost none, anyway. I tend to group them by whatever dumps out of my …

Avatar of Chris Coyier
Chris Coyier on Jul 22, 2021
Direct link to the article The Different Logical Ways to Group CSS Properties
ordering properties

The Different Logical Ways to Group CSS Properties

Here’s a bit of CSS:

.module {
  background: rgba(198, 148, 72, 0.75);
  color: #222;
  clear: both;
  margin: 0 0 2rem 0;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 2px solid black;
  border-radius: 4px;
  padding: 1rem;
  font-family: sans-serif;
  font-size: 
…
Avatar of Chris Coyier
Chris Coyier on Apr 27, 2017 (Updated on Apr 2, 2021)
ordering properties

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. …

Avatar of Chris Coyier
Chris Coyier on Aug 5, 2012 (Updated on Apr 27, 2017)
ordering properties

New Poll: How do you order your CSS properties?

Tossed up a new poll (in the sidebar of the site, RSS folks) about how you order your CSS properties. …

Avatar of Chris Coyier
Chris Coyier on Jun 15, 2012 (Updated on Apr 27, 2017)
CSS3 ordering properties

Ordering CSS3 Properties

When writing CSS3 properties, the modern wisdom is to list the “real” property last and the vendor prefixes first:…

Avatar of Chris Coyier
Chris Coyier on Sep 7, 2010 (Updated on Apr 27, 2017)

CSS-Tricks is powered by DigitalOcean.

Keep up to date on web dev

with our hand-crafted newsletter

DigitalOcean
  • DigitalOcean
  • DigitalOcean Community
  • About DigitalOcean
  • Legal
  • Free Credit Offer
CSS-Tricks
  • Email
  • Guest Writing
  • Book
  • Advertising
Follow
  • Mastodon
  • Twitter
  • Instagram
  • YouTube
  • CodePen
  • iTunes
  • RSS
Back to Top