Pen Settings

HTML

CSS

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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ 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

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.

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

              
                <div id="joomla">
  <div id="first">
    <div class="top-circle vanish"></div>
    <div class="top-arch"></div>
    <div class="bottom-rect">
      <div class="one"></div>
      <div class="two vanish"></div>
    </div>
  </div>

  <div id="second">
    <div class="top-circle vanish"></div>
    <div class="top-arch vanish"></div>
    <div class="bottom-rect">
      <div class="one vanish"></div>
      <div class="two"></div>
      <div class="three vanish"></div>
    </div>
  </div>

  <div id="third">
    <div class="top-circle vanish"></div>
    <div class="top-arch vanish"></div>
    <div class="bottom-rect">
      <div class="one vanish"></div>
      <div class="two"></div>
    </div>
  </div>

  <div id="fourth">
    <div class="top-circle vanish"></div>
    <div class="top-arch"></div>
    <div class="bottom-rect">
      <div class="one"></div>
      <div class="two"></div>
    </div>
  </div>
</div>
              
            
!

CSS

              
                html, body{
    background-color: #25304F;
}

#joomla{
    transform: rotate(45deg);
    position: absolute;
    left: 350px;
}

#first, #second, #third, #fourth{
    width: 200px;
    position: absolute;
}
#first{
    left: 200px;
}
#second{
    transform: rotate(90deg);
    left: 340px;
    top: 153px;
}
#third{
    transform: rotate(180deg);
    top: 290px;
    left: 198px;
}
#fourth{
    transform: rotate(270deg);
    top: 148px;
    left: 
        59px;
}

.top-circle{
    border-radius: 50%;
    width: 115px;
    height: 115px;
    margin-left: 45px;
}

.top-arch{
    width: 200px;
    height: 100px;
    /*border-radius: 50%;*/
    margin-top: -30px;
    margin-bottom: -1px;
    margin-left: -1px;

}
.inner-arch{
    width: 100px;
    height: 100px;
    border-radius: 50%;
    position: relative;
    margin: auto;
    top: 50px;
}

.bottom-rect{
    width: 61px;
}

.one {
    height: 85px;
}
.two {
    height: 50px;
    margin-top: -1px;
}
#second .one{
    height: 15px;
}
#second .two{
    height: 61px;
}
#second .three{
    height: 55px;
    margin-top: -1px;
}
#third .one{
    height: 15px;
}
#third .two{
    height: 120px;
}

#first .top-circle, #first .bottom-rect .one, #first .bottom-rect .two{
    background-color: #F9A541;
}
#first .top-arch{
    background: rgba(255, 255, 255, 0); /* Old browsers */
    background: -moz-radial-gradient(center, ellipse cover,  rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 27%, #f9a541 27%, #f9a541 70%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, 0) 100%); /* FF3.6-15 */
    background: -webkit-radial-gradient(center, ellipse cover,  rgba(255, 255, 255, 0) 0%,rgba(255, 255, 255, 0) 27%,#f9a541 27%,#f9a541 70%,rgba(255, 255, 255, 0) 70%,rgba(255, 255, 255, 0) 100%); /* Chrome10-25,Safari5.1-6 */
    background: radial-gradient(ellipse at center,  rgba(255, 255, 255, 0) 0%,rgba(255, 255, 255, 0) 27%,#f9a541 27%,#f9a541 70%,rgba(255, 255, 255, 0) 70%,rgba(255, 255, 255, 0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='rgba(255, 255, 255, 0)', endColorstr='#f9a541',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
    background-size: 200px 200px;
    background-position: top center;
}

#second .top-circle, #second .bottom-rect .one, #second .bottom-rect .two, #second .bottom-rect .three{
    background-color: #F44321;
}
#second .top-arch{
    background: rgba(255, 255, 255, 0); /* Old browsers */
    background: -moz-radial-gradient(center, ellipse cover,  rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 27%, #F44321 27%, #F44321 70%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, 0) 100%); /* FF3.6-15 */
    background: -webkit-radial-gradient(center, ellipse cover,  rgba(255, 255, 255, 0) 0%,rgba(255, 255, 255, 0) 27%,#F44321 27%,#F44321 70%,rgba(255, 255, 255, 0) 70%,rgba(255, 255, 255, 0) 100%); /* Chrome10-25,Safari5.1-6 */
    background: radial-gradient(ellipse at center,  rgba(255, 255, 255, 0) 0%,rgba(255, 255, 255, 0) 27%,#F44321 27%,#F44321 70%,rgba(255, 255, 255, 0) 70%,rgba(255, 255, 255, 0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='rgba(255, 255, 255, 0)', endColorstr='#F44321',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
    background-size: 200px 200px;
    background-position: top center;
}

#third .top-circle, #third .bottom-rect .one, #third .bottom-rect .two{
    background-color: #5091CD;
}
#third .top-arch{
    background: rgba(255, 255, 255, 0); /* Old browsers */
    background: -moz-radial-gradient(center, ellipse cover,  rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 27%, #5091CD 27%, #5091CD 70%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, 0) 100%); /* FF3.6-15 */
    background: -webkit-radial-gradient(center, ellipse cover,  rgba(255, 255, 255, 0) 0%,rgba(255, 255, 255, 0) 27%,#5091CD 27%,#5091CD 70%,rgba(255, 255, 255, 0) 70%,rgba(255, 255, 255, 0) 100%); /* Chrome10-25,Safari5.1-6 */
    background: radial-gradient(ellipse at center,  rgba(255, 255, 255, 0) 0%,rgba(255, 255, 255, 0) 27%,#5091CD 27%,#5091CD 70%,rgba(255, 255, 255, 0) 70%,rgba(255, 255, 255, 0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='rgba(255, 255, 255, 0)', endColorstr='#5091CD',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
    background-size: 200px 200px;
    background-position: top center;
}

#fourth .top-circle, #fourth .bottom-rect .one, #fourth .bottom-rect .two{
    background-color: #7AC143;
}
#fourth .top-arch{
    background: rgba(255, 255, 255, 0); /* Old browsers */
    background: -moz-radial-gradient(center, ellipse cover,  rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 27%, #7AC143 27%, #7AC143 70%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, 0) 100%); /* FF3.6-15 */
    background: -webkit-radial-gradient(center, ellipse cover,  rgba(255, 255, 255, 0) 0%,rgba(255, 255, 255, 0) 27%,#7AC143 27%,#7AC143 70%,rgba(255, 255, 255, 0) 70%,rgba(255, 255, 255, 0) 100%); /* Chrome10-25,Safari5.1-6 */
    background: radial-gradient(ellipse at center,  rgba(255, 255, 255, 0) 0%,rgba(255, 255, 255, 0) 27%,#7AC143 27%,#7AC143 70%,rgba(255, 255, 255, 0) 70%,rgba(255, 255, 255, 0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='rgba(255, 255, 255, 0)', endColorstr='#7AC143',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
    background-size: 200px 200px;
    background-position: top center;
}

.vanish{
    animation: vanish 25s infinite;
}

@keyframes vanish{
    0%{
        opacity: 1;
    }
    50%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}
              
            
!

JS

              
                
              
            
!
999px

Console