Last active
March 31, 2024 13:11
-
-
Save pointofpresence/adaacc737ce694a0590bcd7136e7845f to your computer and use it in GitHub Desktop.
CSS: Порядок псевдоклассов важен
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
/* WORKS */ | |
a:hover{ color: red; } | |
a:active{ color: green; } | |
/* NOT WORKS */ | |
a:active{ color: green; } | |
a:hover{ color: red; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment