Skip to content

Instantly share code, notes, and snippets.

@jonnymaceachern
Created December 22, 2015 00:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jonnymaceachern/262212556db4371f42cd to your computer and use it in GitHub Desktop.
Save jonnymaceachern/262212556db4371f42cd to your computer and use it in GitHub Desktop.
/**
* Outline all classes.
*/
[class] {
outline: 5px solid lightgrey;
}
/**
* Outline all BEM Elements.
*/
[class*="__"] {
outline: 5px solid grey;
}
/**
* Outline all BEM Modifiers.
*/
[class*="--"] {
outline: 5px solid darkgrey;
}
/**
* Outline all Object classes.
*/
[class^="o-"],
[class*=" o-"] {
outline: 5px solid orange;
}
/**
* Outline all Component classes.
*/
[class^="c-"],
[class*=" c-"] {
outline: 5px solid cyan;
}
/**
* Outline all Responsive classes.
*/
[class*="@"] {
outline: 5px solid rosybrown;
}
/**
* Outline all Hack classes.
*/
[class^="_"] {
outline: 5px solid red;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment