Add a class you can use to mock hover styles when you run the visual regression test on the component.
Created
April 7, 2016 00:18
-
-
Save bjankord/aa9d15d0b57b92d1cad5d165ce5c861b to your computer and use it in GitHub Desktop.
Add
This file contains hidden or 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
<img src="profile.png" class="avatar" alt="Jane Doe"> | |
<img src="profile.png" class="avatar is-hovered" alt="Jane Doe"> |
This file contains hidden or 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
.avatar { | |
// img styles here | |
} | |
.avatar:hover, | |
.avatar.is-hovered { | |
// img hover styles here | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment