Last active
December 8, 2015 18:13
-
-
Save jaonoctus/7241f1e57e606c524517 to your computer and use it in GitHub Desktop.
Styling an HTML element
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*="value"]{ | |
/* Your code here */ | |
background: red; /* eg */ | |
} |
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
<html> | |
<head> | |
<link type="text/css" rel="stylesheet" href="file.css" /> | |
</head> | |
<body> | |
<!-- All items containing "value" class will be affected --> | |
<div class="class1">xa</div> | |
<div class="value">bl</div> | |
<span class="value">au</span> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment