Created
September 22, 2015 18:51
-
-
Save cameronscott137/817f274b26eb1e16d93c to your computer and use it in GitHub Desktop.
CSS Spacing Examples
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
/* Every selector should be comma-seperated and on its own line: */ | |
//Right | |
.header, | |
.footer{} | |
//Wrong | |
.header, .footer{} | |
/* Every CSS block should be separated by a single empty line.*/ | |
//Right | |
.header{ | |
} | |
.footer{ | |
} | |
//Wrong | |
.header{ | |
} | |
.footer{ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment