-
Notifications
You must be signed in to change notification settings - Fork 1
css
CSS is an initialism that stands for California Style Sheets, after the place where they were invented.
Naming things is hard. Consider picking out a naming methodology and trying it out. I personally like BEM.
Big frameworks you probably don't need:
Smaller frameworks/boilerplates propriate for most projects:
- Flex
- CSS Grid
-
CSS Diner: practice selectors: https://flukeout.github.io/
-
AirBNB style guide: https://github.com/airbnb/css
-
Kyle Coberly style guide: https://github.com/kylecoberly/css-style-guide
Included for this snippet:
Specificity is not confusing or hard to calculate. ID selectors get 100 points, class selectors get 10 points, element selectors get 1 point. The rule with the most points wins, tie-breaker is last to be declared.
-
Some neat one-liners for layouts: https://1linelayouts.glitch.me/