Advertisement
Guest User

website

a guest
Jul 17th, 2015
376
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 2.26 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html class="no-js" lang="">
  3.     <head>
  4.         <meta charset="utf-8">
  5.         <meta http-equiv="x-ua-compatible" content="ie=edge">
  6.         <title>Website</title>
  7.         <meta name="description" content="">
  8.         <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
  9.        
  10.         <style type="text/css">  
  11.    
  12.             body {
  13.               background-image: url('website/resources/images/body.png')
  14.             }
  15.             .logo_container {
  16.               width: 700px;
  17.               height: auto;
  18.               margin-top: 60px;
  19.               margin-bottom: 40px;
  20.             }
  21.             #logo {
  22.               width: 100%;
  23.               height: auto;
  24.             }
  25.             .text {
  26.               font-size: 30px;
  27.               margin-bottom: 60px;
  28.             }
  29.             .gif {
  30.               float: right;
  31.             }
  32.            
  33.             @media (max-width: 720px) {
  34.               #logo {
  35.                 margin-top: 30px;
  36.                 margin-bottom: 20px;
  37.                 width: 100%;
  38.               }
  39.               .text {
  40.                 border-bottom: 2px solid red;
  41.               }
  42.               .gif {
  43.                 clear: right;
  44.               }
  45.             }
  46.        
  47.         </style>
  48.        
  49.     </head>
  50.    
  51.     <body>
  52.        
  53.        
  54.         <center>
  55.           <div class="logo_container">
  56.             <img id="logo" src="logo.png" alt="all images should have alts and use width and height" />
  57.           </div>
  58.  
  59.           <div class="text">some text ...</div>
  60.  
  61.           <div class="gif">
  62.             <img src="under_construction.gif" alt="all images should have alts and use width and height" />
  63.           </div>
  64.         </center>
  65.    
  66.    
  67.         <!-- Google Analytics -->
  68.         <script>
  69.             (function(b,o,i,l,e,r){b.GoogleAnalyticsObject=l;b[l]||(b[l]=
  70.             function(){(b[l].q=b[l].q||[]).push(arguments)});b[l].l=+new Date;
  71.             e=o.createElement(i);r=o.getElementsByTagName(i)[0];
  72.             e.src='https://www.google-analytics.com/analytics.js';
  73.             r.parentNode.insertBefore(e,r)}(window,document,'script','ga'));
  74.             ga('create','elektrojani','auto');ga('send','pageview');
  75.         </script>
  76.     </body>
  77. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement