Last active
July 24, 2022 18:49
-
-
Save Cst2989/cb76070ee3ffde8656eee8d1245428c6 to your computer and use it in GitHub Desktop.
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> | |
.test-1-parent #test { | |
color: yellow; | |
} | |
#test { | |
color: red; | |
} | |
</style> | |
</head> | |
<body> | |
<div class="test-1-parent"> | |
<div id="test" class="test-0">Hello World</div> | |
</div> | |
<div id="test2-parent"> | |
<div id="test" class="test-0">Hello World2</div> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment