Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
February 9, 2017 02:04 pm GMT

Code Smells in CSS

Harry Roberts, Code Smells in CSS, Part 1:

  • Undoing Styles
  • Magic Numbers
  • Qualified Selectors
  • Absolute Values
  • Brute Forcing
  • Dangerous Selectors
  • Reactive !important
  • IDs
  • Loose Class Names

Part 2:

  • @extend
  • String Concatenation for Classes
  • Background Shorthand
  • Duplicated Key Selectors
  • Classes in Wrong Components
  • Non BEM
  • @import

Direct Link to ArticlePermalink


Code Smells in CSS is a post from CSS-Tricks


Original Link: https://csswizardry.com/2017/02/code-smells-in-css-revisited/

Share this article:    Share on Facebook
View Full Article

CSS Tricks

A Web Design Community curated by Chris Coyier

More About this Source Visit CSS Tricks