danrim

iki2

Apr 19th, 2019
295
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.97 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <style>
  5.     body {
  6.     background-image: url('https://cmkt-image-prd.global.ssl.fastly.net/0.1.0/ps/3651364/910/607/m2/fpnw/wm1/u83vdlbeuhxum59xmve0ss7ofunskgwuzbhwzj8bpenklblk5wvhtjxas0nly2r2-.jpg?1511859261&s=8eb0cb8c74bdbf22f1558451e05cba01');
  7.  
  8. background-repeat:no-repeat;
  9. background-attachment: fixed;
  10. background-size: cover;
  11.  
  12.     }
  13.     nav img {
  14.         border: 1px solid black;
  15.         width: 50px;
  16.     }
  17.     nav {
  18.     display:flex;
  19.     justify-content: space-between;
  20.     align-items: center;
  21.     margin: 0 50px;
  22.     background-color:white;
  23.     }
  24.     a {
  25.     text-decoration:none;
  26.     margin-left: 10px;
  27.     }
  28.     section {
  29.         max-width: 500px;
  30.         min-height: 600px;
  31.         margin: 20px auto;
  32.         background-color: white;
  33.         border: 1px solid black;
  34.     }
  35.    
  36.     .img2 {
  37.         max-width:200px;
  38.         height: 150px;
  39.         background-color: lightgreen;
  40.     }
  41.    
  42.     section .img2, h2 {
  43.     float:left;
  44.     }
  45.    
  46.     h2 {
  47.     margin: 35px 100% 15px 20px;
  48.     }
  49.    
  50.    
  51.     footer {
  52.     padding: 10px;
  53.     text-align: center;
  54.     background-color: white;
  55.     }
  56.    
  57.    
  58.    
  59.  
  60. </style>
  61. </head>
  62. <body>
  63.     <nav>
  64.    <img src=''>
  65.    <div>
  66.    <a href='#'>Link1</a>
  67.    <a href='#'>Link1</a>
  68.    </nav>
  69.    <div>
  70.    <main>
  71.    <section>
  72.    <h2>Pavadinimas <span>LABAI</span></h2>
  73.    <div class='content'>
  74.    <form>
  75.    <label for='vardas'>Vardas</label>
  76.    <input type="text" name="name" id=''vardas>
  77.  
  78.    <label for='elpastas'>El. pastas</label>
  79.    <input type="email" name="email" id=''email>
  80.    <label palceholder='12345678' id='numbers' require>Iki kontroles numeris</label>
  81.    <input type="number" name="number" id='numbers'>
  82.    <label for='zinute'>Zinute</label>
  83.    <textarea palceholder='Jusu laiskas mums..' id='zinute'></textarea>
  84.    <input type="submit" value="Siusti">
  85.    </form>
  86.    
  87.  
  88. </div>
  89.    </section>
  90.    </main>
  91. <footer>
  92.     Copy right @
  93. </footer>
  94.  
  95. </body>
  96. </html>
Advertisement
Add Comment
Please, Sign In to add comment