Created
March 9, 2018 23:43
-
-
Save yayMark/533d7d1c3e9d4c35cc8c272bb139024a to your computer and use it in GitHub Desktop.
CSS attribute selectors
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
[class*="layout-area-"] { | |
background-color: hotpink; | |
} | |
is the same as | |
.layout-area-1, | |
.layout-area-2, | |
.layout-area-3, | |
.layout-area-4, | |
.layout-area-5 { | |
background-color: hotpink; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment