jmlapam

Untitled

Feb 18th, 2014
78
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /* Un background image + un dégradé */
  2.  
  3. .background {
  4. background: #eeeeee; /* Old browsers */
  5. background-image: url(images/img.png);
  6. background-image: url(images/img.png),-moz-linear-gradient(45deg, #eeeeee 0%, #ffffff 100%); /* FF3.6+ */
  7. background-image: url(images/img.png),-webkit-gradient(linear, left bottom, right top, color-stop(0%,#eeeeee), color-stop(100%,#ffffff)); /* Chrome,Safari4+ */
  8. background-image: url(images/img.png),-webkit-linear-gradient(45deg, #eeeeee 0%,#ffffff 100%); /* Chrome10+,Safari5.1+ */
  9. background-image: url(images/img.png),-o-linear-gradient(45deg, #eeeeee 0%,#ffffff 100%); /* Opera 11.10+ */
  10. background-image: url(images/img.png),-ms-linear-gradient(45deg, #eeeeee 0%,#ffffff 100%); /* IE10+ */
  11. background-image: url(images/img.png),linear-gradient(45deg, #eeeeee 0%,#ffffff 100%); /* W3C */
  12. background-position: 100% 100%;
  13. background-repeat: no-repeat;
  14. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#ffffff',GradientType=1 ); /* IE6-8 fallback on horizontal gradient */
  15. }
RAW Paste Data