Advertisement
Guest User

Untitled

a guest
Feb 16th, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.61 KB | None | 0 0
  1. html
  2.  
  3.  
  4. <div class="container gallery-container">
  5.  
  6.             <h1>skladanie mebli na lanach</h1>
  7.  
  8.  
  9.             <div class="tz-gallery">
  10.  
  11.                 <div class="row">
  12.                         <a class="lightbox" href="1.jpg">
  13.                             <img src="miniaturki/1_small.jpg" alt="Park">
  14.                         </a>
  15.  
  16.  
  17.                         <a class="lightbox" href="2.jpg">
  18.                             <img src="miniaturki/2_small.jpg" alt="Bridge">
  19.                         </a>
  20.  
  21.  
  22.                         <a class="lightbox" href="3.jpg">
  23.                             <img src="miniaturki/3_small.jpg" alt="Tunnel">
  24.                         </a>
  25.  
  26.  
  27.                         <a class="lightbox" href="4.jpg">
  28.                             <img src="miniaturki/4_small.jpg" alt="Coast">
  29.                         </a>
  30.  
  31.                         <a class="lightbox" href="5.jpg">
  32.                             <img src="miniaturki/5_small.jpg" alt="Traffic">
  33.                         </a>
  34.  
  35.                 </div>
  36.             </div>
  37.         </div>
  38.  
  39.  
  40.  
  41. CSS
  42.  
  43. .gallery-container h1 {
  44.     text-align: center;
  45.     margin-top: 80px;
  46.     font-family: 'Droid Sans', sans-serif;
  47.     font-weight: bold;
  48. }
  49.  
  50.  
  51.  
  52.  
  53.  
  54. .tz-gallery {
  55.     float: left;
  56.     width: 20%;
  57.     margin-right: 0.2;
  58.     margin-bottom: 0.2;
  59.     padding: 40px;
  60. }
  61.  
  62. .tz-gallery .lightbox img {
  63.     width: 100%;
  64.     margin-bottom: 30px;
  65.     transition: 0.2s ease-in-out;
  66.     box-shadow: 0 2px 3px rgba(0,0,0,0.2);
  67. }
  68.  
  69.  
  70. .tz-gallery .lightbox img:hover {
  71.     transform: scale(1.05);
  72.     box-shadow: 0 8px 15px rgba(0,0,0,0.3);
  73. }
  74.  
  75. .tz-gallery img {
  76.     border-radius: 4px;
  77. }
  78.  
  79. .baguetteBox-button {
  80.     background-color: transparent !important;
  81. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement