Created
June 25, 2021 00:53
-
-
Save jkup/e1d1b0f634badf5e18902eaefb6bf5a4 to your computer and use it in GitHub Desktop.
CSS Specificity
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<style> | |
.foo { | |
color: blue; | |
} | |
#bar { | |
color: red; | |
} | |
</style> | |
</head> | |
<body> | |
<div class="foo" id="bar">Hello</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
id