cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

Quick-add: + add another resource

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

Quick-add: + add another resource

Code Indentation

     

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

            
              <div class="wrapper">
    <div class="whale whale1">кит</div>
    <div class="whale whale2">кит</div>
    <div class="whale whale3">кит</div>
    <div class="whale whale4">кит</div>
    <div class="whale whale5">кит</div>
    <div class="whale whale6">кит</div>
  </div>
            
          
!
            
              .wrapper {
  width: 100vw;
  height: 100vh;
  background-image: url('http://midler.xyz/prez/kit/img/hyde_park.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  overflow: hidden;
  font-family: Helvetica, Tahoma, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.2;
  color: #232323;
}

.whale {
  width: 360px;
  height: 300px;
  text-indent: 100%;
  overflow: hidden;
  position: absolute;
  left: 100%;
  top: 20%;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  filter: brightness(2);
  opacity: 0.5;
}

.whale1 {
  background-image: url('http://midler.xyz/prez/kit/img/whale1.png');
  animation: whale1 120s infinite linear;
  animation-delay: 0s;
}

.whale2 {
  background-image: url('http://midler.xyz/prez/kit/img/whale2.png');
  animation: whale2 120s infinite linear;
  animation-delay: 20s;
}

.whale3 {
  background-image: url('http://midler.xyz/prez/kit/img/whale3.png');
  animation: whale3 120s infinite linear;
  animation-delay: 30s;
}

.whale4 {
  background-image: url('http://midler.xyz/prez/kit/img/whale4.png');
  transform: rotate(30deg);
  animation: whale4 120s infinite linear;
  animation-delay: 40s;
}

.whale5 {
  background-image: url('http://midler.xyz/prez/kit/img/whale5.png');
  animation: whale5 120s infinite linear;
  animation-delay: 50s;
}

.whale6 {
  background-image: url('http://midler.xyz/prez/kit/img/whale6.png');
  animation: whale6 120s infinite linear;
  animation-delay: 60s;
  transform: rotate(40deg);
}

@keyframes whale1 {
  from {
    left: 100%;
    top: -20%;
  }
  to {
    left: -50%;
    top: 80%;
  }
}

@keyframes whale2 {
  from {
    left: 50%;
    top: -50%;
  }
  to {
    left: -50%;
    top: 100%;
  }
}

@keyframes whale3 {
  from {
    left: 130%;
    top: -50%;
  }
  to {
    left: -50%;
    top: 120%;
  }
}

@keyframes whale4 {
  from {
    left: 130%;
    top: 70%;
  }
  to {
    left: -50%;
    top: 20%;
  }
}

@keyframes whale5 {
  from {
    left: 130%;
    top: -20%;
  }
  to {
    left: -50%;
    top: 10%;
  }
}

@keyframes whale6 {
  from {
    left: 130%;
    top: 80%;
  }
  to {
    left: -50%;
    top: 10%;
  }
}
            
          
!
999px
Loading ..................

Console