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

              
                <link href='https://fonts.googleapis.com/css?family=Roboto:100,400,300,500,700' rel='stylesheet' type='text/css'>


<div align="center" class="fond">
  <div align="center" style="position:relative; height:210px;">
    <img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/173024/localisation.png" height="130" class="anim">    
</div>
<div align="center">
  <div class="ombre_bleu"></div>
</div>
  
  
 <div style=" padding:5px; color:#999999; font-weight:300; font-size:30px; font-family:'Roboto';padding-top:20px;">PURE CSS <font style="font-weight:400;">ANIMATION</font></div>
        
</div>
              
            
!

CSS

              
                .fond
{
background-color:#e7e7e7;
  padding-top:20px;
  width: 100%;
  height: 100%;
  position: fixed;
  z-index:-2;
  top: 0; bottom:0;
  left:0; right: 0;
}
.anim
{
  position: absolute;
  top:100px;
  -webkit-animation:spin 1s linear;
  -webkit-animation-fill-mode: both;
  -webkit-transform-origin: 50% 100%;
  -moz-animation:spin 1s linear;
  -moz-animation-fill-mode: both;
  -moz-transform-origin: 50% 100%;
  -ms-animation:spin 1s linear;
  -ms-animation-fill-mode: both;
  -ms-transform-origin: 50% 100%;
  animation:spin 1s linear;
  animation-fill-mode: both;
  transform-origin: 50% 100%;
}
@-webkit-keyframes spin {
  0% {-webkit-transform: rotate(0deg) scaleY(0.6);top:-130px;}
  20% {-webkit-transform: rotate(-2deg) scaleY(1.05);top:100px;}
  35% {-webkit-transform: rotate(2deg) scaleY(1);}
  50% {-webkit-transform: rotate(-2deg);} 
  65% {-webkit-transform: rotate(1deg);} 
  80% {-webkit-transform: rotate(-1deg);}   
  100% {-webkit-transform: rotate(-20deg);}   
}
@-moz-keyframes spin {
  0% {-moz-transform: rotate(0deg) scaleY(0.6);top:-130px;}
  20% {-moz-transform: rotate(-2deg) scaleY(1.05);top:100px;}
  35% {-moz-transform: rotate(2deg) scaleY(1);}
  50% {-moz-transform: rotate(-2deg);} 
  65% {-moz-transform: rotate(1deg);} 
  80% {-moz-transform: rotate(-1deg);}   
  100% {-moz-transform: rotate(-20deg);}   
}
@-ms-keyframes spin {
  0% {-ms-transform: rotate(0deg) scaleY(0.6);top:-130px;}
  20% {-ms-transform: rotate(-2deg) scaleY(1.05);top:100px;}
  35% {-ms-transform: rotate(2deg) scaleY(1);}
  50% {-ms-transform: rotate(-2deg);} 
  65% {-ms-transform: rotate(1deg);} 
  80% {-ms-transform: rotate(-1deg);}   
  100% {-ms-transform: rotate(-20deg);}   
}
@-keyframes spin {
  0% {transform: rotate(0deg) scaleY(0.6);top:-130px;}
  20% {transform: rotate(-2deg) scaleY(1.05);top:100px;}
  35% {transform: rotate(2deg) scaleY(1);}
  50% {transform: rotate(-2deg);} 
  65% {transform: rotate(1deg);} 
  80% {transform: rotate(-1deg);}   
  100% {transform: rotate(-20deg);}   
}
.ombre_bleu
{
  border-radius:30px;
  display:inline-block;
  background-color:rgba(153,153,153,0.2);
  box-shadow:1px 1px 8px #999999;
  margin-left:90px;
  -webkit-animation:anim_ombre 1s linear;
  -webkit-animation-fill-mode: both;
  -moz-animation:anim_ombre 1s linear;
  -moz-animation-fill-mode: both;
  -ms-animation:anim_ombre 1s linear;
  -ms-animation-fill-mode: both;
  animation:anim_ombre 1s linear;
  animation-fill-mode: both;
} 
@-webkit-keyframes anim_ombre
{
  0%{width:90px;height:2px;}
  20%{width:30px;height:2px;}
  90%{width:30px;height:2px;}
  100%{margin-left:0px;width:90px;height:2px;}
} 
@-moz-keyframes anim_ombre
{
  0%{width:90px;height:2px;}
  20%{width:30px;height:2px;}
  90%{width:30px;height:2px;}
  100%{margin-left:0px;width:90px;height:2px;}
} 
@-ms-keyframes anim_ombre
{
  0%{width:90px;height:2px;}
  20%{width:30px;height:2px;}
  90%{width:30px;height:2px;}
  100%{margin-left:0px;width:90px;height:2px;}
} 
@keyframes anim_ombre
{
  0%{width:90px;height:2px;}
  20%{width:30px;height:2px;}
  90%{width:30px;height:2px;}
  100%{margin-left:0px;width:90px;height:2px;}
} 
              
            
!

JS

              
                /*Enjoy other creative code here --> www.wifeo.com/code*/
              
            
!
999px

Console