Skip to content

Instantly share code, notes, and snippets.

@0632347878
Created November 11, 2017 08:59
Show Gist options
  • Save 0632347878/4c9cd91ad719487390e40a3aa4fe8469 to your computer and use it in GitHub Desktop.
Save 0632347878/4c9cd91ad719487390e40a3aa4fe8469 to your computer and use it in GitHub Desktop.
Background linear-gradient for hidden height
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;
@0632347878
Copy link
Author

0632347878 commented Dec 12, 2017

/for horisontal hidden/
background-image: -webkit-linear-gradient(right, white 30%, rgba(255, 255, 255, 0) 100%);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment