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.

            
                <div class="loader">
    <div class="loadercontainer">
      <div id="barcontainer">
        <div id="meter"></div>
      </div>
    </div>
  </div>
<div class="blobs">
  <div class="blob"></div>
  <div class="blob"></div>
  <div class="blob"></div>
  <div class="blob"></div>
  <div class="blob"></div>
  <div class="blob"></div>
  <div class="outline">
    <svg version="1.1" id="diamond" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="231px" height="261px" viewBox="320.5 156.5 231 261" enable-background="new 320.5 156.5 231 261" xml:space="preserve">
          <path fill="none" d="M414.333,345l-53.999-62.667l30.656,10.333 M438.5,314.127l57.833,22.54L489.5,267 M425.404,239.531
                l-64.807,42.565 M373.191,198.667l52.212,40.864 M367.929,200.517L334,263.667l26.334,18.667L367.929,200.517z M474.355,227.825
                l68.646-13.325L468,165.333l10,98.333l65.001-49.167L489.5,267 M543.001,214.5l-46.667,122.167 M425.404,239.531L468,165.333
                L352.333,206L334,263.667L414.333,345 M367.038,297.116L392,350.333l12.237-15.555 M438.5,314.127l6.167,96.206l51.667-73.667
                M478,263.667L414.333,345l82-8.333L478,263.667L352.333,206l62,139L392,350.333l52.667,60L414.333,345" />
        </svg>
  </div>
</div>
<script src="https://cdn.jsdelivr.net/walkway/0.0.1/walkway.min.js
             "></script>
<script>
  document.addEventListener('DOMContentLoaded', function() {
  
        var svg = new Walkway({
          selector: '#diamond',
          duration: 5500,
          easing: 'Linear',
        }).draw(function() {
          console.dir('Finished outline')
        });
      });
</script>
            
          
!
            
              body,
html {
  height: 100%;
  width: 100%;
  overflow: hidden;
  background: #fff
}

.loader{
  width: 100%;
  height: 100%
}

body {
  position: relative;
  background: #fff;
  margin: 0;
  padding: 0;
  font-family: robotothin;
  font-style: normal;
  font-size: 12px;
  letter-spacing: .5px;
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
  font-smoothing: antialiased
}


.loader {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%)
}

.blobs,
.loadercontainer {
  z-index: 2;
  width: 110px;
  height: 110px
}

.loadercontainer,
.outline {
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  position: absolute
}

.loadercontainer {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%)
}

@-webkit-keyframes loader {
  0% {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
    opacity: 1
  }
  100% {
    -webkit-transform: scale(.7) rotate(10deg);
    transform: scale(.7) rotate(10deg);
    opacity: .1
  }
}

@keyframes loader {
  0% {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
    opacity: 1
  }
  100% {
    -webkit-transform: scale(.7) rotate(10deg);
    transform: scale(.7) rotate(10deg);
    opacity: .1
  }
}

line,
path,
polyline {
  stroke: #000;
  stroke-width: 1px
}

path {
  fill: transparent
}

polyline {
  stroke-width: 1px
}

.outline {
  top: 60%;
  left: 40px;
  transform: translate(-50%, -50%)
}

.blobs {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%)
}

.blob {
  position: absolute;
  background: #76F0C3;
  text-align: center
}

.blob:nth-child(1) {
  top: -10px;
  left: -10px;
  width: 90px;
  height: 100px;
  border-radius: 100%;
  -webkit-animation: mytopdown linear 3s infinite;
  -moz-animation: mytopdown linear 3s infinite;
  animation: mytopdown linear 3s infinite
}

.blob:nth-child(2),
.blob:nth-child(3) {
  left: -10px;
  width: 80px;
  height: 80px;
  border-radius: 100%
}

.blob:nth-child(2) {
  top: -10px;
  -webkit-animation: mydowntop linear 3s infinite;
  -moz-animation: mydowntop linear 3s infinite;
  animation: mydowntop linear 3s infinite
}

.blob:nth-child(3) {
  top: 10px;
  -webkit-animation: mytopleft linear 5s infinite;
  -moz-animation: mytopleft linear 5s infinite;
  animation: mytopleft linear 5s infinite
}

.blob:nth-child(4) {
  top: -10px;
  left: 10px;
  border-radius: 45%;
  width: 90px;
  height: 100px;
  -webkit-animation: mydownright linear 3s infinite;
  -moz-animation: mydownright linear 3s infinite;
  animation: mydownright linear 3s infinite
}

.blob:nth-child(5),
.blob:nth-child(6) {
  top: -10px;
  left: -10px;
  width: 90px;
  height: 100px
}

.blob:nth-child(5) {
  border-radius: 42%;
  -webkit-animation: mytopright linear 4s infinite;
  -moz-animation: mytopright linear 4s infinite;
  animation: mytopright linear 4s infinite
}

.blob:nth-child(6) {
  border-radius: 47%;
  -webkit-animation: mydownleft linear 4s infinite;
  -moz-animation: mydownleft linear 4s infinite;
  animation: mydownleft linear 4s infinite
}

#god,
#god_particles,
h1 {
  position: absolute;
  left: 50%
}

@keyframes mytopdown {
  0% {
    top: 0;
    transform: rotate(0) scale(1)
  }
  50% {
    top: 10px;
    transform: rotate(180deg) scale(1.04)
  }
  100% {
    top: 0;
    transform: rotate(360deg) scale(1)
  }
}

@keyframes mydowntop {
  0% {
    top: 0;
    transform: rotate(0)
  }
  50% {
    top: -10px;
    transform: rotate(-180deg)
  }
  100% {
    top: 0;
    transform: rotate(-360deg)
  }
}

@keyframes mytopleft {
  0% {
    left: 0;
    top: 0;
    transform: rotate(0)
  }
  50% {
    left: 15px;
    top: 5px;
    transform: rotate(180deg)
  }
  100% {
    left: 0;
    top: 0;
    transform: rotate(360deg)
  }
}

@keyframes mydownright {
  0% {
    left: 0;
    top: 0;
    transform: rotate(0)
  }
  50% {
    left: -10px;
    top: -5px;
    transform: rotate(180deg)
  }
  100% {
    left: 0;
    top: 0;
    transform: rotate(360deg)
  }
}

@keyframes mytopright {
  0% {
    left: 0;
    top: 0;
    transform: rotate(0)
  }
  50% {
    left: -10px;
    top: 5px;
    transform: rotate(180deg)
  }
  100% {
    left: 0;
    top: 0;
    transform: rotate(360deg)
  }
}

@keyframes mydownleft {
  0% {
    left: 0;
    top: 0;
    transform: rotate(0)
  }
  50% {
    left: 10px;
    top: 10px;
    transform: rotate(-180deg)
  }
  100% {
    left: 0;
    top: 0;
    transform: rotate(-360deg)
  }
}

@keyframes myturn {
  0% {
    transform: rotate(0) skewX(0)
  }
  100% {
    transform: rotate(-360deg) skewX(0)
  }
}

@-webkit-keyframes mytopdown {
  0% {
    top: 0;
    -webkit-transform: rotate(0) scale(1)
  }
  50% {
    top: 10px;
    -webkit-transform: rotate(180deg) scale(1.04)
  }
  100% {
    top: 0;
    -webkit-transform: rotate(360deg) scale(1)
  }
}

@-webkit-keyframes mydowntop {
  0% {
    top: 0;
    -webkit-transform: rotate(0)
  }
  50% {
    top: -10px;
    -webkit-transform: rotate(-180deg)
  }
  100% {
    top: 0;
    -webkit-transform: rotate(-360deg)
  }
}

@-webkit-keyframes mytopleft {
  0% {
    left: 0;
    top: 0;
    -webkit-transform: rotate(0)
  }
  50% {
    left: 15px;
    top: 5px;
    -webkit-transform: rotate(180deg)
  }
  100% {
    left: 0;
    top: 0;
    -webkit-transform: rotate(360deg)
  }
}

@-webkit-keyframes mydownright {
  0% {
    left: 0;
    top: 0;
    -webkit-transform: rotate(0)
  }
  50% {
    left: -10px;
    top: -5px;
    -webkit-transform: rotate(180deg)
  }
  100% {
    left: 0;
    top: 0;
    -webkit-transform: rotate(360deg)
  }
}

@-webkit-keyframes mytopright {
  0% {
    left: 0;
    top: 0;
    -webkit-transform: rotate(0)
  }
  50% {
    left: -10px;
    top: 5px;
    -webkit-transform: rotate(180deg)
  }
  100% {
    left: 0;
    top: 0;
    -webkit-transform: rotate(360deg)
  }
}

@-webkit-keyframes mydownleft {
  0% {
    left: 0;
    top: 0;
    -webkit-transform: rotate(0)
  }
  50% {
    left: 10px;
    top: 10px;
    -webkit-transform: rotate(-180deg)
  }
  100% {
    left: 0;
    top: 0;
    -webkit-transform: rotate(-360deg)
  }
}

@-webkit-keyframes myturn {
  0% {
    -webkit-transform: rotate(0) skewX(0)
  }
  100% {
    -webkit-transform: rotate(-360deg) skewX(0)
  }
}

#barcontainer {
  width: 300px;
  margin: 200px auto;
  position: fixed;
  left: -100px;
  top: 80%
}

#meter {
  position: absolute;
  width: 0;
  height: .5px;
  border-right: 5px solid #fff;
  background-color: #000;
  box-shadow: 0 0 10px #76F0C3;
  -webkit-transition: width .5s;
  -webkit-animation: loading 2.5s ease-out infinite;
  animation: loading 2.5s ease-out infinite;
  -webkit-animation-delay: 3s;
  animation-delay: 3s
}

@-webkit-keyframes loading {
  0% {
    width: 0
  }
  50% {
    opacity: 0;
    width: 300px
  }
  100% {
    opacity: 0
  }
}

@keyframes loading {
  0% {
    width: 0
  }
  50% {
    opacity: 0;
    width: 300px
  }
  100% {
    opacity: 0
  }
}

#particles-js {
  width: 100%;
  height: 100%;
  opacity: .5
}

#parallax,
.layer,
.some-more-space,
.some-space {
  height: 100%;
  position: absolute;
  width: 100%
}

h1 {
  color: #000;
  font-size: 5em;
  font-weight: 100;
  letter-spacing: .2em;
  top: 40%;
  -webkit-transform: translate3d(-50%, -50%, 0);
  transform: translate3d(-50%, -50%, 0)
}

.some-space {
  -webkit-animation: rotate 18s .5s infinite linear reverse;
  animation: rotate 18s .5s infinite linear reverse
}

.some-more-space {
  -webkit-animation: rotate 15s .1s infinite linear;
  animation: rotate 15s .1s infinite linear
}

@-webkit-keyframes rotate {
  0% {
    -webkit-transform: rotateZ(0) translate3d(0, 1.5%, 0) rotateZ(0);
    transform: rotateZ(0) translate3d(0, 1.5%, 0) rotateZ(0)
  }
  100% {
    -webkit-transform: rotateZ(360deg) translate3d(0, 1.5%, 0) rotateZ(-360deg);
    transform: rotateZ(360deg) translate3d(0, 1.5%, 0) rotateZ(-360deg)
  }
}

@keyframes rotate {
  0% {
    -webkit-transform: rotateZ(0) translate3d(0, 1.5%, 0) rotateZ(0);
    transform: rotateZ(0) translate3d(0, 1.5%, 0) rotateZ(0)
  }
  100% {
    -webkit-transform: rotateZ(360deg) translate3d(0, 1.5%, 0) rotateZ(-360deg);
    transform: rotateZ(360deg) translate3d(0, 1.5%, 0) rotateZ(-360deg)
  }
}
            
          
!
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