Created
November 11, 2012 05:18
-
-
Save gusgollings/4053809 to your computer and use it in GitHub Desktop.
OH "Is there a CSS selector to select all *except* the current child being hovered on?"
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
<head> | |
<title>All bar one</title> | |
<style> | |
ol:hover {color: green} | |
li:hover {color: red} | |
</style> | |
</head> | |
<body> | |
<ol> | |
<li>FIRST</li> | |
<li>SECOND</li> | |
<li>THIRD</li> | |
<li>FOURTH</li> | |
</ol> | |
</body> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment