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
&:before { | |
display: none; | |
} | |
&:after { | |
display: none; | |
} | |
&:hover { | |
background-color: #eee; | |
&:before, &:after { | |
display: block; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi Julie,
Would you happen to know if :before can be used to create a fade out edge for a css gradient?
I am currently using this:
background: -webkit-gradient(linear, left top, left bottom, from(#f9f9f9), to(#ffffff));
But need to fade out both edges (top right and top left).
Your advise will be appreciated,
Noman