Created
July 23, 2013 13:50
-
-
Save pablolobos/6062477 to your computer and use it in GitHub Desktop.
CSS: content-before-gradient
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{ | |
content: ""; | |
display: block; | |
width: 3px; | |
height: 100%; | |
position: absolute; | |
right: 0; | |
top: 0; | |
@include background-image(linear-gradient(left, transparentize(#000, 1), transparentize(#000, 0.8))); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment