Created
December 22, 2015 00:13
-
-
Save jonnymaceachern/262212556db4371f42cd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 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