Created
April 24, 2018 08:00
-
-
Save emalgholzad/6fc185bf731fd2cf16ebc87a93569fb2 to your computer and use it in GitHub Desktop.
Outline BEMIT
This file contains hidden or 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