Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save lee101/e7414759637b28a11431 to your computer and use it in GitHub Desktop.
Save lee101/e7414759637b28a11431 to your computer and use it in GitHub Desktop.
A Pen by Sean McConnell.
<div id="bg1"></div>
<div class="bg2"></div>
<div class="bg3"></div>
<div class="bg4"></div>
body{
background: -webkit-linear-gradient(45deg,#E54242 0%, #B12E36 25%, #E54242 25%, #B12E36 50%, #E54242 50%, #B12E36 75%, #E54242 75%, #B12E36);
background: -moz-linear-gradient(45deg,#E54242 0%, #B12E36 25%, #E54242 25%, #B12E36 50%, #E54242 50%, #B12E36 75%, #E54242 75%, #B12E36);
background: -o-linear-gradient(45deg,#E54242 0%, #B12E36 25%, #E54242 25%, #B12E36 50%, #E54242 50%, #B12E36 75%, #E54242 75%, #B12E36);
background: linear-gradient(45deg,#E54242 0%, #B12E36 25%, #E54242 25%, #B12E36 50%, #E54242 50%, #B12E36 75%, #E54242 75%, #B12E36);
background-size:100px 100px;
}
body:before{
background: -webkit-linear-gradient(-45deg,#E54242 0%, #B12E36 25%, #E54242 25%, #B12E36 50%, #E54242 50%, #B12E36 75%, #E54242 75%, #B12E36);
background: -moz-linear-gradient(-45deg,#E54242 0%, #B12E36 25%, #E54242 25%, #B12E36 50%, #E54242 50%, #B12E36 75%, #E54242 75%, #B12E36);
background: -o-linear-gradient(-45deg,#E54242 0%, #B12E36 25%, #E54242 25%, #B12E36 50%, #E54242 50%, #B12E36 75%, #E54242 75%, #B12E36);
background: linear-gradient(-45deg,#E54242 0%, #B12E36 25%, #E54242 25%, #B12E36 50%, #E54242 50%, #B12E36 75%, #E54242 75%, #B12E36);
background-size:100px 100px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment