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.

            
              <div class="box">
  <div class="profile">
    <div class="avatar">
      <img src="http://simplypx.com/images/miniprofile_avatar.png" />
	</div>
    <div class="action-bar">
	    <i href="#" class="icon icon-profile"></i>
	    <i href="#" class="icon icon-case"></i>
	    <i href="#" class="icon icon-more active">
	    	<div class="tooltip more">
	    		<a href="#" class="icon icon-gplush"></a>
	    		<a href="#" class="icon icon-insta"></a>
	    		<a href="#" class="icon icon-facebook"></a>
	    	</div>
	    </i>
	</div>
  </div>
  <a href="#" class="btn btn-primary">Follow</a>
</div>
            
          
!
            
              html { width: 100%; height: 100%; overflow:hidden; }
body {
  background: #322738;
  background-image: radial-gradient(80% 60%, ellipse cover, rgba(187,161,152,1) 0%, rgba(101,126,126,.5) 40%, rgba(69,85,99,.5) 80%), radial-gradient(50% 20%, ellipse cover, rgba(93,125,136,1) 0%, rgba(53,39,80,1) 50%) ;
  font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; 
  font-weight: 300;
}

.box { width: 200px; margin: 40px auto 0; }

.profile { 
  background: rgba(255,255,255,0.3);
  border-radius: 3px;
  box-shadow: inset 0 0 3px rgba(255,255,255,0.3), inset 0 1px 1px rgba(255,255,255,0.5), 0 0 3px rgba(0,0,0,0.3), 0 1px 1px rgba(0,0,0,0.1);
  display: inline-block;
}
.avatar { margin: 20px 0 20px 20px; float: left; position: relative; }
.avatar img { vertical-align: sub; border-radius: 4px; position: relative; z-index: 0; }
.avatar:before { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0;  box-shadow: inset 0 1px 2px rgba(255,255,255,0.8), inset 0 1px 0 rgba(255,255,255,0.8), 0 1px 1px rgba(0,0,0,0.4); z-index: 1; border-radius: 4px; }
.action-bar { float: left; }
.icon { background: url(http://simplypx.com/images/miniprofile_sprite.png) no-repeat; display: block; width: 17px; height: 17px; margin: 20px 15px; position: relative; cursor: pointer; }

.icon-profile { background-position: -3px -3px; }
.icon-profile:hover, .icon-profile.active { background-position: -28px -3px; }
.icon-case { background-position: -3px -24px; }
.icon-case:hover, .icon-case.active { background-position: -28px -24px; }
.icon-more { background-position: -3px -45px; }
.icon-more:hover, .icon-more.active { background-position: -28px -45px; }

.icon-gplush { background-position: -3px -63px; }
.icon-gplush:hover { background-position: -28px -63px; }
.icon-insta { background-position: -3px -85px; }
.icon-insta:hover { background-position: -28px -85px; }
.icon-facebook { background-position: -3px -105px; }
.icon-facebook:hover { background-position: -28px -105px; }

.tooltip { 
  position: absolute; 
  height: 131px; 
	bottom: -20px; 
	right: -80px; 
	background: rgba(255,255,255,0.3);
	border-radius: 3px;
	box-shadow: inset 0 0 3px rgba(255,255,255,0.3), inset 0 1px 1px rgba(255,255,255,0.5), 0 0 3px rgba(0,0,0,0.3), 0 1px 1px rgba(0,0,0,0.1);
	display: inline-block;
}
.tooltip:before { content: ''; position: absolute; bottom: 22px; left: -12px; border: 6px solid transparent; border-right: 6px solid rgba(255,255,255,0.3); }

.btn { 
	border-radius: 3px;
	box-shadow: inset 0 1px 2px rgba(255,255,255,0.5), 0 0 3px rgba(0,0,0,0.4), 0 1px 2px rgba(0,0,0,0.2);
	text-align: center;
	line-height: 30px;
	text-transform: uppercase;
	text-decoration: none;
	color: #fff;
	text-shadow: 0 1px 1px rgba(0,0,0,0.6);
	font-size: 11px;
	display: inline-block;
	width: 157px;
	margin-top: 15px;
	letter-spacing: 1px;
	background-repeat: repeat-x;
}
.btn-primary { 
	background-color: rgba(139,192,82,1);
	background-image: linear-gradient(top, rgba(139,192,82,1) 0%,rgba(106,168,50,1) 100%);
}
.btn-primary:hover { 
	background-color: rgba(106,168,50,1); 
	background-position: 0 -15px;
	-webkit-transition: background-position 0.1s linear;
}
.btn-primary:active { 
	box-shadow: inset 0 0 2px rgba(0,0,0,0.9);
}
            
          
!
999px
Loading ..................

Console