26 Rules I Follow When Writing CSS To Make It Concise and Readable | by Arbaoui Mehdi | Sep, 2022 | Medium

PHOTO EMBED

Wed Sep 28 2022 20:23:07 GMT+0000 (Coordinated Universal Time)

Saved by @dryadmedia

.component {
  // Sass Inheritance
  @extend %a-placeholder;
  @include silly-links;

  // Position and Layout
  top: 0;
  left: 0;

  // Box Model
  width: 150px;
  min-height: 400px;
  padding: 0 20px;

  // Typography
  line-height: 1.25;
  color: #aaa;
}
content_copyCOPY

https://arbaouimehdi.medium.com/26-rules-i-follow-when-writing-css-to-make-it-concise-and-readable-b56547a345b4