Mishakis

tehnomarket

Nov 23rd, 2020
607
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4.     <meta charset="UTF-8">
  5.     <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6.     <link rel="stylesheet" href="style.css" type="text/css">
  7.     <title>Document</title>
  8.     <style>
  9.     .slider {
  10.         width: 100%;
  11.         background-color: chartreuse;
  12.     }
  13.  
  14.     .slider-items {
  15.         width: 18%;
  16.         display: inline-block;
  17.         padding: 8pt;
  18.     }
  19.     </style>
  20. </head>
  21. <body>
  22.     <div class="slider">
  23.         <div class="slider-items">
  24.             <img src="parrot.jpg" alt="parrot">
  25.             <p>This is a parrot</p>
  26.         </div>
  27.         <div class="slider-items">
  28.             <img src="parrot.jpg" alt="parrot">
  29.             <p>This is a parrot</p>
  30.         </div>
  31.         <div class="slider-items">
  32.             <img src="parrot.jpg" alt="parrot">
  33.             <p>This is a parrot</p>
  34.         </div>
  35.         <div class="slider-items">
  36.             <img src="parrot.jpg" alt="parrot">
  37.             <p>This is a parrot</p>
  38.         </div> 
  39.         <div class="slider-items">
  40.             <img src="parrot.jpg" alt="parrot">
  41.             <p>This is a parrot</p>
  42.         </div> 
  43.     </div>
  44.    
  45. </body>
  46. </html>
RAW Paste Data