Advertisement
metalx1000

Fullscreen image on a webpage html css

Mar 7th, 2015
723
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.43 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3.     <head>
  4.         <style type="text/css">
  5.             html {
  6.                   background: url("imgs/home.gif") no-repeat center center fixed;
  7.                   -webkit-background-size: cover;
  8.                   -moz-background-size: cover;
  9.                   -o-background-size: cover;
  10.                   background-size: cover;
  11.                 }
  12.         </style>
  13.     </head>
  14. <body>
  15.  
  16. </body>
  17. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement