Advertisement
Guest User

Untitled

a guest
Dec 16th, 2019
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 4.25 KB | None | 0 0
  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4.     <meta charset="UTF-8">
  5.     <meta name="viewport"
  6.          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
  7.     <meta http-equiv="X-UA-Compatible" content="ie=edge">
  8.     <title>Document</title>
  9.     <link rel="stylesheet" type="text/css" href="https://asgoodasnew.de/out/agan/src/css/libs/swiper.min.css?1512660665" />
  10.     <link rel="stylesheet" type="text/css" href="https://asgoodasnew.de/modules/makaira/connect/out/dist/makaira.12208f12.min.css" />
  11.     <link rel="stylesheet" type="text/css" href="https://asgoodasnew.de/modules/bestit/amazonpay4oxid/out/src/css/bestitamazonpay4oxid.css" />
  12.     <link rel="stylesheet" type="text/css" href="https://asgoodasnew.de/out/agan/src/css/slidebars.min.css?1575543236" />
  13.     <link rel="stylesheet" type="text/css" href="https://asgoodasnew.de/out/agan/src/css/styles.vendor.min.css?1575543237" />
  14.     <link rel="stylesheet" type="text/css" href="https://asgoodasnew.de/out/agan/src/css/styles.agan.min.css?1575543258" />
  15.     <link rel="stylesheet" type="text/css" href="https://asgoodasnew.de/modules/ddoe/visualcms/out/src/css/font-awesome.min.css" />
  16.     <link rel="stylesheet" type="text/css" href="https://asgoodasnew.de/modules/ddoe/visualcms/out/src/css/photoswipe.min.css" />
  17.     <link rel="stylesheet" type="text/css" href="https://asgoodasnew.de/modules/ddoe/visualcms/out/src/css/style.min.css" />
  18.     <link rel="stylesheet" type="text/css" href="https://asgoodasnew.de/modules/oe/oegdprbase/out/css/oegdprbase-agan.css" />
  19.  
  20.     <style>
  21.  
  22.         .teaserWrapper {
  23.             width: 1170px;
  24.             height: 500px;
  25.             position: relative;
  26.             margin: 0 auto;
  27.             overflow: hidden;
  28.         }
  29.  
  30.         .firstImage {
  31.             position: absolute;
  32.             top: 0;
  33.             left: 0;
  34.             width:33.33%;
  35.             height:100%;
  36.             overflow: hidden;
  37.         }
  38.  
  39.         @keyframes firstImageAni {
  40.             0% {
  41.                 width:33.33%;
  42.             }
  43.             100% {
  44.                 width:95%;
  45.                 box-shadow: 0 10px 10px 0 #000;
  46.             }
  47.         }
  48.  
  49.         .firstImage:hover{
  50.             z-index:2;
  51.             animation-name: firstImageAni;
  52.             animation-duration: 400ms;
  53.             animation-iteration-count: 1;
  54.             animation-fill-mode: forwards;
  55.         }
  56.  
  57.         @keyframes secondImageAni {
  58.             0% {
  59.                 width:33.33%;
  60.             }
  61.             100% {
  62.                 left:2.5%;
  63.                 width:95%;
  64.                 box-shadow: 0 0 10px 0 #000;
  65.             }
  66.         }
  67.  
  68.         .secondImage {
  69.             position: absolute;
  70.             top: 0;
  71.             left: 33%;
  72.             height:100%;
  73.             overflow: hidden;
  74.         }
  75.  
  76.         .secondImage:hover{
  77.             z-index: 2;
  78.             animation-name: secondImageAni;
  79.             animation-duration: 400ms;
  80.             animation-iteration-count: 1;
  81.             animation-fill-mode: forwards;
  82.         }
  83.  
  84.         @keyframes thirdImageAni {
  85.             0% {
  86.                 width:33.33%;
  87.             }
  88.             100% {
  89.                 left:5%;
  90.                 width:95%;
  91.                 box-shadow: 0 -10px 10px 0 #000;
  92.             }
  93.         }
  94.  
  95.         .thirdImage {
  96.             position: absolute;
  97.             top: 0;
  98.             left: 66%;
  99.             height: 100%;
  100.             overflow: hidden;
  101.         }
  102.  
  103.         .thirdImage:hover{
  104.             z-index: 2;
  105.             animation-name: thirdImageAni;
  106.             animation-duration: 400ms;
  107.             animation-iteration-count: 1;
  108.             animation-fill-mode: forwards;
  109.         }
  110.  
  111.  
  112.     </style>
  113.  
  114. </head>
  115. <body>
  116.  
  117. <div class="agan-container">
  118.     <div class="teaserWrapper">
  119.         <div class="firstImage">
  120.             <img src="https://www.asgoodasnew.de/out/pictures/ddmedia/teaser_handys.jpg">
  121.  
  122.         </div>
  123.         <div class="secondImage">
  124.             <img src="https://www.asgoodasnew.de/out/pictures/ddmedia/teaser_macbooks.jpg">
  125.  
  126.         </div>
  127.         <div class="thirdImage">
  128.             <img src="https://www.asgoodasnew.de/out/pictures/ddmedia/teaser_tablets.jpg">
  129.  
  130.         </div>
  131.     </div>
  132. </div>
  133.  
  134. </body>
  135. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement