Last active
August 29, 2015 14:05
-
-
Save pbojinov/c4fdf948b36818619b57 to your computer and use it in GitHub Desktop.
css reusability - http://cssguidelin.es/
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
/** | |
* Runs the risk of becoming out of date; not very maintainable. | |
*/ | |
.blue { | |
color: blue; | |
} | |
/** | |
* Depends on location in order to be rendered properly. | |
*/ | |
.header span { | |
color: blue; | |
} | |
/** | |
* Too specific; limits our ability to reuse. | |
*/ | |
.header-color { | |
color: blue; | |
} | |
/** | |
* Nicely abstracted, very portable, doesn’t risk becoming out of date. | |
*/ | |
.highlight-color { | |
color: blue; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment