Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource

JavaScript

Babel includes JSX processing.

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

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Auto Save

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.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <section class="box">

  <img src="https://drive.google.com/uc?id=1mNHiT5GePVx9Vyl7Zbe-RsbP_ua-sX-X" alt="" class="wave wave-top">

  <div class="inner">
    <h1>I'm almost there ...</h1>
  </div>

  <div class="blob">
    <b></b>
    <b></b>
  </div>

  <img src="https://drive.google.com/uc?id=1mNHiT5GePVx9Vyl7Zbe-RsbP_ua-sX-X" alt="" class="wave">

</section>

<!-- Google Font -->
<link href="https://fonts.googleapis.com/css?family=Lobster&display=swap" rel="stylesheet">


              
            
!

CSS

              
                @keyframes radious {
  100%,
  0% {
    border-radius: 35% 65% 70% 30% / 30% 30% 70% 70%;
  }
  20% {
    border-radius: 35% 65% 50% 50% / 35% 65% 35% 65%;
  }
  40% {
    border-radius: 35% 65% 65% 35% / 65% 50% 50% 35%;
  }
  60% {
    border-radius: 35% 65% 50% 50% / 30% 30% 70% 70%;
  }
  80% {
    border-radius: 40% 60% 40% 60% / 40% 50% 50% 60%;
  }
}

@keyframes blob_a {
  100%,
  0% {
    transform: none;
  }
  50% {
    transform: translate(50%, 20%) rotateY(10deg) scale(1.2);
  }
}

@keyframes blob_b {
  100%,
  0% {
    transform: none;
  }
  50% {
    transform: translate(50%, 20%) rotate(-200deg) scale(1.2);
  }
}

html, body {
  margin: 0;
  padding: 0;
}

.box {
  position: relative;
  margin: 5rem auto;
  background-image: linear-gradient(to right, #FFE29F 0%, #FFA99F 48%, #FF719A 100%);
  overflow: hidden;
}

.box .wave {
  display: block;
  position: relative;
  width: 100%;
  z-index: 1;
}

.box img.wave-top {
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
  top: -1px;
}

.box .inner {
  position: relative;
  z-index: 1;
}

.box .inner h1 {
  font-family: 'Lobster', cursive;
  font-size: 2.6em;
  text-align: center;
  color: #FFFFFF;
  text-shadow: 1px 1px 12px rgba(0,0,0,.15);
}

.box .blob b {
  position: absolute;
  height: 400px;
  width: 400px;
  top: 50%;
  left: 70%;
  background-image: linear-gradient(to right, #FFE29F 0%, #FFA99F 48%, #FF719A 100%);
  border-radius: 30% 70% 20% 40%;
  opacity: .25;
  animation: 
    transform 20s ease-in-out infinite both alternate,
    blob_a 40s ease-in-out infinite both;
}

.box .blob b:first-child {
  width: 1000px;
  height: 1000px;
  top: -250px;
  left: -500px;
  transform: rotate(-180deg);
  animation: 
    radious 30s ease-in-out infinite both alternate, 
    blob_b 60s ease-in-out infinite both;
}
              
            
!

JS

              
                /*
===============================================================

Hi! Welcome to my little playground!

My name is Tobias Bogliolo. 'Open source' by default and always 'responsive',
I'm a publicist, visual designer and frontend developer based in Barcelona. 

Here you will find some of my personal experiments. Sometimes usefull,
sometimes simply for fun. You are free to use them for whatever you want 
but I would appreciate an attribution from my work. I hope you enjoy it.

===============================================================
*/
              
            
!
999px

Console