123

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.

+ add another resource

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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.

+ add another resource

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              <body>
  <div class="wrapper">

    <div class="cloud" id="cloud-back"></div>

    <svg width="0" height="0"> 
    <filter id="filter-back">
      <feTurbulence type="fractalNoise" baseFrequency="0.12 0.022" numOctaves="3" />
      <feDisplacementMap  in="SourceGraphic" scale="250" />
    </filter>
</svg>
  </div>
  <svg  class="wing" width="100%" height="75%"  viewBox="0 100 700 200">
  <linearGradient id="wing-grad" x1="-9.9883" x2="396.102" y1="511.7476" y2="293.946" gradientUnits="userSpaceOnUse">
    <stop offset="0" stop-color="#222"/>
    <stop offset="1" stop-color="#888"/>
  </linearGradient>
  <path fill="url(#wing-grad)" d="M460.8 263.6L451 283 193.5 540H0V369l387-96 14-15.3z"/>
  <linearGradient id="b" x1="358.2373" x2="439.1251" y1="393.9492" y2="350.566" gradientUnits="userSpaceOnUse">
    <stop offset="0"/>
    <stop offset="1" stop-color="#aaa"/>
  </linearGradient>
  <path fill="url(#b)" d="M463 373.3l-54.7 10.4-57.1-1 44.2-44.2L463 365z"/>
  <linearGradient id="c" x1="251.5176" x2="381.3999" y1="512.3936" y2="442.7328" gradientUnits="userSpaceOnUse">
    <stop offset="0"/>
    <stop offset="1" stop-color="#888"/>
  </linearGradient>
  <path fill="url(#c)" d="M419.9 479.9L332.3 497l-91.6-1.6 70.9-73 108.3 43.8z"/>
  <path stroke="#52CE7F" stroke-miterlimit="10" stroke-width="1" d="M401 257.7l59.8 5.9 56.5-113.3-21 3.4z"/>
  <path fill="#3FA1BC" stroke="#FD0" stroke-miterlimit="10" stroke-width="0.5" d="M401 257.7l18 2 77.3-102-4.5.9z"/>
  <g stroke="#555"  opacity="1">
    <path stroke="#444" stroke-width="0.5" d="M0 453l401-170"/>
    <path fill="#666" stroke-width="0.5" d="M61 540l326-219"/>
    <path stroke="#555" stroke-width="1" d="M193.5 540L451 283M127.3 495.5L-3 455.7M244.6 416.7l-92.2-28.3M309.2 373.3l-68.7-22.2"/>
    <path fill="none"  stroke-width="0.5" d="M387 321l-48.1-11.7"/>
    <path fill="none" stroke-width="0.5" d="M371.8 317.3l47.2-31"/>
    <path fill="none" d="M94.2 517.7l99.3 22.3M309.2 424.5L419 463M419 463v16.7M419 479.7l-86 15.8M333 495.5h-92.5M395.4 338.5L463 365M463 365v8.3M463 373.3l-54.7 10.4"/>
    <path fill="#B3B3B3" d="M408.3 383.7h-58.2"/>
    <path fill="none" d="M408.3 459.3v12M408.3 471.3L286.7 447M455.8 362.2l-.8 6.8M455 369l-54-12.7M401 356.3l7.3-12.7M401 356.3l-18.2-5.2M387 273l109.3-119.3M496.3 153.7l20-3.4M516.3 150.3v3.4"/>
    <path fill="none" stroke-width="1" d="M516.3 153.7L451 283"/>
    <path fill="none" d="M493.2 157.1l3.1.6M0 369v84M0 540h61M0 540v-87M0 540h61M61 540h132.5"/>
  </g>
  <g>
    <g fill-rule="evenodd" clip-rule="evenodd">
      <path d="M445.1 257.7c-7.8-.6-11.9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1 1.4 1.3 2.7 2.7 4.1 4 .2.2.1.2-.1.4-.9.4-1.9.8-2.8 1.3-.2.1-.3.1-.4 0-.7-.7-1.4-1.4-2.2-2.1-.1-.1-.1-.2-.1-.4.4-1 .8-2 1.1-2.9 0-.2.1-.3.2-.4zM448 248.4l-.6 1.5c-.1.3-.2.3-.4.1-1.4-1.3-2.7-2.7-4.1-4-.2-.2-.1-.2.1-.4.9-.4 1.9-.8 2.8-1.3.2-.1.3-.1.4 0 .7.7 1.4 1.4 2.2 2.1.1.1.1.3.1.5-.2.6-.4 1.1-.5 1.5zM449.4 248.6c.2-.5.4-1 .6-1.4.1-.2.2-.3.4-.4 1.2-.5 2.4-1.1 3.6-1.6.2-.1.3-.1.4 0 .5.5 1.1 1.1 1.7 1.6.2.2.1.2-.1.4-2.3 1-4.6 2.1-6.9 3.1-.1 0-.2 0-.3.1v-.2c.2-.7.4-1.2.6-1.6zM453.2 244c-.1.1-.2.1-.3.2-.9.4-1.9.9-2.8 1.3-.2.1-.3.1-.4 0-.6-.6-1.2-1.1-1.7-1.7 0 0-.1-.1-.1-.2.1-.1.2-.1.3-.2.9-.4 1.8-.8 2.8-1.2.2-.1.4-.1.5 0l1.6 1.6s.1.1.1.2zM443.1 243.1c.1-.3.2-.6.4-1 .1-.2.2-.3.3-.1l1.1 1.1c.1.1.1.2-.1.3-.6.3-1.2.6-1.9.9-.2.1-.3.1-.2-.2.2-.3.3-.6.4-1zM457.9 244.4c-.1.3-.2.7-.4 1-.1.2-.2.3-.3.1l-1.1-1.1c-.1-.1-.1-.2.1-.3.6-.3 1.2-.6 1.9-.9.2-.1.3-.1.2.2-.1.3-.3.6-.4 1z"/>
    </g>
  </g>
</svg>
</body>
            
          
!
            
              body {
  width: 100vw;
  height: 100vh;
  background: linear-gradient(
    2deg,
    #dda145 -10%,
    #6e808e 22%,
    #2c475c 60%,
    #2d3640 100%
  );
  background: linear-gradient(
    0deg,
    #161d25 5%,
    #5f4c52 9%,
    #d1786a 10%,
    #f9e2b8 12%,
    #b2c4da 15%,
    #0d141a 100%
  );

  padding: 1%;
  overflow: hidden;
}
.wrapper {
  perspective: 100px;
  width: 3000px;
  height: 1400px;
  position: relative;
  margin-left: -80vw;
}

.cloud {
  width: 3000px;
  height: 2000px;
  border-radius: 20%;
  position: absolute;
  top: -1750px;
  left: -2200px;
  transform-origin: 50% 113%;
  transform: rotateX(-20deg) scale(2.1, 1.3);
}

#cloud-back {
  filter: url(#filter-back);
  box-shadow: 1200px 700px 190px -620px rgba(255, 255, 255, 0.5);
}

.wing {
  position: absolute;
  bottom: 0;
  left: 0;
/*   border: 1px solid yellow; */
}

            
          
!
            
              // These extraordinarily subtle creations 
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.

Console