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.

            
              <head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link rel="stylesheet" type="text/css" href="styles.css" media="screen" />
  <link href="https://fonts.googleapis.com/css?family=Marck+Script" rel="stylesheet">
</head>

<div class="wrapper">
  <div class="bouncing_circle">
    <div class="circle"></div>
  </div>
  <div class="starting_wrapper">
    <span class="dot_three"> •</span><span class="dot_two"> •</span><span class="dot_one"> • </span><span class="starting">starting</span><span class="dot_one"> •</span><span class="dot_two"> •</span><span class="dot_three"> •</span>
  </div>
</div>
            
          
!
            
              * {
  box-sizing: border-box;
}

body {
  background: red;
  font-family: 'Marck Script', cursive;
  line-height: 1.618em;
  background: linear-gradient(to right, #662D8C, #ED1E79);
  color: #fff;
}

.wrapper {
  display: flex;
  flex-direction: column;
  height: 95vh;
  // background: green;
  justify-content: center;
}

.starting_wrapper {
  font-size: 3em;
  font-weight: 400;
  margin: 0 auto;
  // background: yellow;
}

.bouncing_circle {
  width: 1rem;
  margin: 0 auto;
  height: 6rem;
  // background: red;
}

.circle {
  position: absolute;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: #fff;
  animation: bounce 2s infinite;
}

span[class^='dot_'] {
  opacity: 0;
}

.starting {
  animation: starting 2s infinite linear;
}

.dot_one {
  animation: dot_one 2s infinite linear;
}

.dot_two {
  animation: dot_two 2s infinite linear;
}

.dot_three {
  animation: dot_three 2s infinite linear;
}

@keyframes dot_one {
  0% {
    opacity: 0;
  }
  15% {
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}

@keyframes dot_two {
  0% {
    opacity: 0;
  }
  40% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}

@keyframes dot_three {
  0% {
    opacity: 0;
  }
  60% {
    opacity: 0;
  }
  75% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}

@keyframes starting {
  0% {
    opacity: 0.1;
  }
  100% {
    opacity: 1;
  }
}

@keyframes bounce {
  0% {
    top: 43vh;
    animation-timing-function: ease-in;
    opacity: 0;
  }
  34% {
    height: 1rem;
    width: 1rem;
  }
  35% {
    top: 48vh;
    height: 0.8rem;
    width: 1.2rem;
    animation-timing-function: ease-out;
    opacity: 1;
  }
  45% {
    height: 1rem;
    width: 1rem;
  }
  90% {
    top: 43vh;
  }
  100% {
    top: 43vh;
    opacity: 0;
  }
}

@media all and ((max-width: 410px) or (max-height: 200px)) {
  
  .starting_wrapper {
    display: none;
  }

}
            
          
!
999px
Loading ..................

Console