Skip to content

Instantly share code, notes, and snippets.

@erin-dot-io
Created March 11, 2018 01:35
Show Gist options
  • Save erin-dot-io/b7812f33f862957a6ac5f605e04a8201 to your computer and use it in GitHub Desktop.
Save erin-dot-io/b7812f33f862957a6ac5f605e04a8201 to your computer and use it in GitHub Desktop.
CSS/SCSS Partial Structuring (ITCSS)
// USE ITCSS FOR PARTIAL STRUCTURING
// SETTINGS
// Global variables, site-wide settings, config switches, etc.
// TOOLS
// Site-wide mixins and functions.
// GENERIC
// Low-specificity, far-reaching rulesets (e.g. resets).
// BASE
// Unclassed HTML elements (e.g. a {}, blockquote {}, address {}).
// OBJECTS
// Objects, abstractions, and design patterns (e.g. .media {}).
// COMPONENTS
// Discrete, complete chunks of UI (e.g. .carousel {}).
// HELPERS
// High-specificity, very explicit selectors.
// Overrides and helper classes (e.g. .hidden {}).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment