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. 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

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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

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 class="title">
  <h1>Browsers <span>Pure css</span></h1>
  <p>One DIV, one logo.</p>
  </div>

<div class="block">

  <div class="block4"><div class="safari"></div></div>
  <div class="block4"><div class="firefox"></div></div>
  <div class="block4"><div class="chrome"></div></div>
  <div class="block4"><div class="ie"></div></div>

</div>







<div class="block-b">


  <a target="_new" href="google.com/+JordanoAragão" >By Jordano Aragão</a>

<!-- Place this tag where you want the +1 button to render. -->
<div class="g-plusone" data-size="tall"></div>

<!-- Place this tag after the last +1 button tag. -->

  </div>

              
            
!

CSS

              
                @import url(https://fonts.googleapis.com/css?family=Open+Sans:400,300);
body{font-family:'Open Sans', sans-serif; font-weight:300; 
transform: translate3d(0px, 0px, 0px);}

.title{width: 460px; margin:120px auto 120px;}
h1{font-weight:300; font-size:36px; line-height:36px; color:#333; margin:0; padding:0;}
h1 span{font-size:16px; color:#888}
.title > p{ font-size:52px; line-height:52px; text-align:center; color: #09b; margin:-12px 0 0 0; padding:0;}

.block{min-width: 1020px; max-width:1200px; margin:0 auto;  overflow:hidden; left: 0; right: 0;}
.block4{ min-width:25%; float:left; }

.block-b{max-width: 460px;  overflow:hidden; margin: 160px auto 30px ; text-align:center;}
.block-b > p{ text-align:center; margin:0; color:#888;}
 a{display:block;  text-align:center; color:#09c; margin-bottom:30px; }








/* ----------------------------------------------------------------------
safari
---------------------------------------------------------------------- */


.safari{width:200px; height:200px; border-radius:100%; border: 10px solid #e8e8e8; margin:10px auto;
position:relative;
background-image: 
    radial-gradient(#09b 20px, #fff 21px, #fff 23px,  #09b 24px, #09b 26px,  #09b 75px,transparent 75px, transparent 90px, #09b 90px),
    linear-gradient(90deg, transparent 99px,#fff 99px ,#fff 101px,transparent 101px ),
    linear-gradient(0deg, transparent 99px,#fff 99px ,#fff 101px,transparent 101px );



background-color: #09b;
  box-shadow:inset 0 7px 0 0px rgba(0, 0, 0, .3),  0 7px 0 0px rgba(0, 0, 0, .8);
 
}

 .safari:after{content: ""; width:20px; height:20px; background:#ccc; border-radius:100%; position:absolute; top:0; bottom:0; left:0; right:0; margin:auto;} 

.safari:before{content: ""; width:80px; height:20px; position:absolute; top:0; bottom:0; left:0; right:0; margin:auto; 

  background-image: linear-gradient(-14deg, #fff 50%, #c33 50%) ;
     background-image: -webkit-linear-gradient(104deg, #fff 50%, #c33 50%) ;
transform:rotate(105deg) skew(75deg, 0deg) ;
-webkit-transform:rotate(105deg) skew(75deg, 0deg) ;}

.safari:hover:before{ animation: safari 1s  ease-in-out infinite alternate;
  
  
}


@keyframes safari {
0%{ transform:rotate(105deg) skew(76deg, 0deg)}
 100%{ transform:rotate(45deg) skew(76deg, 0deg)}
}















/* ----------------------------------------------------------------------
Firefox
---------------------------------------------------------------------- */
.firefox{width:200px; height:200px; border-radius:100%; border: 10px solid #e8e8e8; margin:10px auto; overflow:hidden; background: #ED7C30;
  position:relative; z-index:1;
}

 .firefox:before{content: ""; width:46px; height:46px; background:#A4DFEF; border-radius:100%; position:absolute; top:90px;  left:50px;  margin:auto;  border:1px solid #A4DFEF;
box-shadow:
     -10px 0 0 5px rgba(164, 223, 239, .2), 16px -60px 0 8px rgba(164, 223, 239, .2),
    
   
    -30px -50px 0 8px #ED7C30,25px -38px 0 0px #A4DFEF,   -30px -30px 0 12px #ED7C30, 15px -60px 0 8px #A4DFEF, 
    
    
    33px 31px 0 -15px #A4DFEF,30px 17px 0 -13px #ED7C30, 20px -10px 0 0px #A4DFEF,-8px -0px 0 19px #ED7C30, 
    
    
20px -6px 0 28px #A4DFEF, 45px 10px 0 35px #ED7C30,
   
    
    -5px -57px 0 8px #ED7C30, 20px -23px 0 45px #A4DFEF,
     -5px -80px 0 8px #A4DFEF, -30px -70px 0 8px #ED7C30,
    -5px -57px 0 8px #ED7C30, 43px -11px 0 55px #ED7C30, 22px -39px 0 55px #A4DFEF;


} 


.firefox:after{content: ""; width:0px; height:2px;
  background: linear-gradient(90deg,#E28B4C 75% ,#333 30% );background: -webkit-linear-gradient(0deg,#E28B4C 75% ,#333 30% );
  background-size:35px 35px ;
  position:absolute; top:50px;  left:73px;  margin:auto; 
border:solid; border-width:12px 0   15px 30px; border-color: #A4DFEF #fff #A4DFEF transparent;
box-shadow:inset 0px 0 0 50px #333}


.firefox:hover{ transition: all  1s  ease;

transform: rotate(360deg);}


























/* ----------------------------------------------------------------------
IE
---------------------------------------------------------------------- */


.ie{width:200px; height:200px; border-radius:100%;  margin:10px auto;box-shadow:inset 7px 0 0 53px #09c;
  position:relative;}

.ie:before{content: ""; width:280px; height:122px; background:none; border-radius:100%; position:absolute; top:33px; left:-45px;  margin:auto; box-shadow:inset 0 12px 0 13px  #09c, -35px -8px 0 -5px #fff; transform: rotate(-40deg); -webkit-transform: rotate(-40deg)}


.ie:after{content: ""; width:120px; height:25px; 
background: #09c;position:absolute; top:80px;  left:0; right: 0; margin:auto;box-shadow: 50px 23px 0 -2px #fff
}



/* ----------------------------------------------------------------------
chrome
---------------------------------------------------------------------- */


.chrome{width:200px; height:200px; border-radius:100%; border: 8px solid #333; margin:10px auto;
position:relative;
background:
     linear-gradient(180deg, #c33 29%, transparent 0 ),
     linear-gradient(-115deg, #FCD209 45%, transparent 0),
     linear-gradient(-50deg, #FCD209 35.5%, transparent 0),
     linear-gradient(-60deg, rgba(0, 0, 0, .3) 40%, transparent 0),
     linear-gradient(50deg, #49AE48 35.5%, transparent 30px),
     linear-gradient(0deg, #49AE48 40%, transparent 0%),
     linear-gradient(40deg, rgba(0, 0, 0, .3) 40%, transparent 0);
background-color: #c33;

}

.chrome:after{content: ""; width:32%; height:32%; background:#09b; border-radius:100%; position:absolute; top:0; bottom:0; left:0; right:0; margin:auto; border:11px solid #fff; box-shadow:inset -5px -5px 0 8px rgba(0, 0, 0, .1)}

.chrome:before{content: "";  width:0px; height:0px; position:absolute; top:29%;  left:50%;  margin:auto; border: solid; border-width: 15px 75px 10px 0px;
 border-color: rgba(0, 0, 0, .3) transparent transparent transparent;}


/*safari gradient*/
.chrome{
background:
      -webkit-linear-gradient(270deg, #c33 29.3%, transparent 0 ),
        -webkit-linear-gradient(210deg, #FCD209 45%, transparent 0),
        -webkit-linear-gradient(138deg, #FCD209 35.5%, transparent 0),
        -webkit-linear-gradient(148deg, rgba(0, 0, 0, .3) 40%, transparent 0),
        -webkit-linear-gradient(43deg,  #49AE48 35.5%, transparent 30px),
        -webkit-linear-gradient(90deg, #49AE48 40%, transparent 0%),
        -webkit-linear-gradient(52deg, rgba(0, 0, 0, .3) 40%, transparent 0);
background-color: #c33;}

/*
ANIMATION
--------------------------------------------------------------------*/
@keyframes play {

     to {transform: rotate(-1440deg);}
}
.chrome:hover{ animation: play 2s  ease;}











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



@media all and (max-width: 1020px) {
   .title{margin: 60px auto 0px;}
.block{min-width: 300px; max-width:90%;}
  .block4{ width:300px; border:0px solid #ccc; margin:100px auto; float:none}
.block-b{ margin: 0 auto 30px ; width: 90%;}

}

@media all and (max-width: 460px) {
  
  footer a{position:absolute; top: -20px; left: 0; text-align:right; background: #ddd; color:#09c; width: 100%;}
  .title{width: 360px; margin: 30px auto 0;}
  .title h1, .title > p{width: 460px;transform: scale(.7); margin-left:-50px}
}




              
            
!

JS

              
                
              
            
!
999px

Console