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.

            
              <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="550px" height="280px" viewBox="0 0 434.5 230.2" style="enable-background:new 0 0 434.5 230.2;" xml:space="preserve">
  <style type="text/css">
    .st0{clip-path:url(#SVGID_2_);}
    	.st1{fill:#15161A;}
    	.st2{fill:#0087E6;}
    	.st3{opacity:0.3;fill:#15161A;}
    	.st4{opacity:0.36;fill:none;stroke:#BCC3CA;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
    	.st5{opacity:0.63;fill:none;stroke:#BCC3CA;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
    	.st6{opacity:0.4;fill:none;stroke:#BCC3CA;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
    	.st7{fill:none;stroke:#D7DEE2;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
    	.st8{opacity:0.35;fill:none;stroke:#BCC3CA;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
    	.st9{opacity:0.6;fill:none;stroke:#BCC3CA;stroke-width:5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
    	.st10{opacity:0.64;fill:none;stroke:#BCC3CA;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
    	.st11{opacity:0.8;fill:none;stroke:#BCC3CA;stroke-width:7;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
  </style>
  <g id="boat">

    <defs>
      <path id="SVGID_1_" d="M80.2,112.2c0,0,2.8,10.2,15.5,10.2s14.9-10.2,14.9-10.2s2.8,10.2,15.5,10.2s14.9-10.2,14.9-10.2
					s2.8,10.2,15.5,10.2s14.9-10.2,14.9-10.2s2.8,10.2,15.5,10.2s14.9-10.2,14.9-10.2s2.8,10.2,15.5,10.2s14.9-10.2,14.9-10.2
					s2.8,10.2,15.5,10.2c12.6,0,14.9-10.2,14.9-10.2s2.8,10.2,15.5,10.2s14.9-10.2,14.9-10.2s2.8,10.2,15.5,10.2
					s14.9-10.2,14.9-10.2V0H62.3v40L80.2,112.2z" />
    </defs>
    <clipPath id="SVGID_2_">
      <use xlink:href="#SVGID_1_" style="overflow:visible;" />
    </clipPath>
    <g id="transform" class="st0">
      <g class="boat-reverse">
        <g class="boat-rotate">
          <g class="boat">
            <polygon class="st1" points="128.3,22.2 134,27.3 197.7,101.6 262,120.3 271.3,123.9 223.6,153.4 146.7,119.6 				" />
            <polygon class="st2" points="128.3,22.2 203.1,115.7 271.3,123.9 209.7,90.4 				" />
            <polygon class="st3" points="203.1,115.7 271.3,123.9 209.7,90.4 				" />
          </g>
        </g>
      </g>
    </g>
  </g>
  <g id="waves">
    <path class="st4" d="M74,63.9c0,0-0.9,3.9-5.8,3.9s-6-3.9-6-3.9s-0.9,3.9-5.8,3.9s-6-3.9-6-3.9" />
    <path class="st5" d="M65.4,158.1c0,0-2.2,9.9-14.4,9.9s-14.9-9.9-14.9-9.9s-2.2,9.9-14.4,9.9s-14.9-9.9-14.9-9.9" />
    <path class="st6" d="M362.8,89.8c0,0-1.4,6.2-9.1,6.2c-7.7,0-9.4-6.2-9.4-6.2s-1.4,6.2-9.1,6.2c-7.7,0-9.4-6.2-9.4-6.2" />
    <path class="st7" d="M323.4,112.2c0,0-2.3,10.2-14.9,10.2S293,112.2,293,112.2s-2.3,10.2-14.9,10.2s-15.5-10.2-15.5-10.2
		s-2.3,10.2-14.9,10.2c-12.6,0-15.5-10.2-15.5-10.2s-2.3,10.2-14.9,10.2s-15.5-10.2-15.5-10.2s-2.3,10.2-14.9,10.2
		s-15.5-10.2-15.5-10.2s-2.3,10.2-14.9,10.2S141,112.2,141,112.2s-2.3,10.2-14.9,10.2s-15.5-10.2-15.5-10.2s-2.3,10.2-14.9,10.2
		s-15.5-10.2-15.5-10.2" />
    <path class="st8" d="M305.6,64.7c0,0-0.9,3.9-5.8,3.9s-6-3.9-6-3.9c0,0-0.9,3.9-5.8,3.9s-6-3.9-6-3.9s-0.9,3.9-5.8,3.9
		s-6-3.9-6-3.9" />
    <path class="st9" d="M226,147.7c0,0-2.4,11-16,11c-13.5,0-16.6-11-16.6-11s-2.4,11-16,11c-13.5,0-16.6-11-16.6-11s-2.4,11-16,11
		c-13.5,0-16.6-11-16.6-11" />
    <path class="st10" d="M431.5,160.6c0,0-3.5,15.6-22.7,15.6c-19.3,0-23.6-15.6-23.6-15.6s-3.5,15.6-22.7,15.6
		c-19.3,0-23.6-15.6-23.6-15.6s-3.5,15.6-22.7,15.6s-23.6-15.6-23.6-15.6" />
    <path class="st11" d="M343.5,207.7c0,0-4.2,19.1-27.8,19.1c-23.6,0-28.9-19.1-28.9-19.1c0,0-4.2,19.1-27.8,19.1
		s-28.9-19.1-28.9-19.1s-4.2,19.1-27.8,19.1s-28.9-19.1-28.9-19.1s-4.2,19.1-27.8,19.1s-28.9-19.1-28.9-19.1s-4.2,19.1-27.8,19.1
		s-28.9-19.1-28.9-19.1s-4.2,19.1-27.8,19.1S3.5,207.7,3.5,207.7" />
  </g>
</svg>
            
          
!
            
              /**
 * Little sinking paper boat :(
 *
 * Twitter: @GijsRoge
 */

@keyframes waves {
  50%  {transform: translateX(5px) rotate(.5deg)}
}
@keyframes boat {
  50%  {transform: rotate(-2deg) translateY(-3px)}
}
@keyframes boat-rotate {
  50%  {transform: rotate(-2deg) translateY(5px) translateX(-2px)}
}
@keyframes boat-reverse {
  50%  {transform: rotate(2deg) translateY(10px) translateX(2px)}
}
.boat{
  animation: boat 3s ease-in-out infinite;
  transform-origin: center;
}
.boat-rotate{
  animation: boat-rotate 6s ease-in-out infinite;
  transform-origin: center;
}
.boat-reverse{
  animation: boat-reverse 4s ease-in-out infinite;
  transform-origin: center;
}
#waves{
  path{
    animation: waves 6s ease-in-out infinite;
    transform-origin: center;
    &:nth-child(1){
      animation-delay: 1s;
      animation-duration: 4s;
    }
    &:nth-child(2){
      animation-delay: 2s;
      animation-duration: 10s;
    }
    &:nth-child(3){
      animation-delay: 1s;
      animation-duration: 7s;
    }
    &:nth-child(4){
      animation: none;
    }
    &:nth-child(5){
      animation-delay: 2s;
      animation-duration: 4s;
    }
    &:nth-child(6){
      animation-delay: 2s;
      animation-duration: 5s;
    }
  }
}

html{
  height: 100%;
}
body{
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
            
          
!
999px
Loading ..................

Console