Created
November 11, 2017 08:59
-
-
Save 0632347878/4c9cd91ad719487390e40a3aa4fe8469 to your computer and use it in GitHub Desktop.
Background linear-gradient for hidden height
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
background: linear-gradient(rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 80%, rgba(255, 255, 255, 1) 100%) repeat scroll 0 0 rgba(0, 0, 0, 0); | |
bottom: 0; | |
content: ""; | |
display: block; | |
height: 40px; | |
left: 0; | |
position: absolute; | |
right: 0; | |
z-index: 6; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
/for horisontal hidden/
background-image: -webkit-linear-gradient(right, white 30%, rgba(255, 255, 255, 0) 100%);