Skip to content

Instantly share code, notes, and snippets.

@frhd
Created February 3, 2014 14:47
Show Gist options
  • Save frhd/8785105 to your computer and use it in GitHub Desktop.
Save frhd/8785105 to your computer and use it in GitHub Desktop.
css div fadeout
#fadeout {
z-index: 50;
position: fixed;
left: 0;
top: 0;
right: 0;
height: 100px;
background: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 255)), to(rgba(255, 255, 255, 0)));
background: -moz-linear-gradient(top, rgba(255, 255, 255, 255), rgba(255, 255, 255, 0));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment