Created
August 25, 2012 18:04
-
-
Save byrichardpowell/3468636 to your computer and use it in GitHub Desktop.
Use dashes to separate words in class names
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
/* GOOD: */ | |
.my-class { /* Styles */ } | |
/* BAD: */ | |
.myClass { /* Styles */ } | |
.MyClass { /* Styles */ } | |
.my_class { /* Styles */ } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment