Skip to content

Instantly share code, notes, and snippets.

Created April 11, 2011 04:01
Show Gist options
  • Save anonymous/913042 to your computer and use it in GitHub Desktop.
Save anonymous/913042 to your computer and use it in GitHub Desktop.
<html>
<head>
<style type="text/css">
.gradient-image {
position:relative;
}
.gradient {
position:absolute;
top:0;
left:0;
background:transparent url('http://www.quantumvisioncalibrations.ca/images/transparent%20gradient.png') no-repeat;
width:100%;
height:100%;
}
</style>
</head>
<body>
<div class="gradient-image">
<img src="http://www.cattlerange.com/stress-test/i-stress-test.gif" alt="image"/>
<div class="gradient"></div>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment