Last active
January 3, 2016 20:39
-
-
Save apprentice1988/8516612 to your computer and use it in GitHub Desktop.
css 继承 - 在comment处添加属性,后面的以'button-'开始的css都会自动继承该属性
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
[class*=“button-“] { | |
/* base button properties */ | |
} | |
.button-primary { ... } | |
.button-plain { ... } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment