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 CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

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="container auto radius">
  <div class="preview radius">
    <a href="https://twitter.com/TyBpa">
      <div class="pic radius">
      <div class="dim"></div>
      <div class="profile">View Profile</div>
    <h2>Ty Strong</h2>
    <i class="fa fa-eye"></i>
    <i class="fa fa-heart"></i>
    <i class="fa fa-code"></i>
  <p>An Outstanding Dude. With No Followers.</p>
  <a href="https://twitter.com/TyBpa"><div class="btn btn-flw radius">Follow Me</div></a>
<a href="https://codepen.io/spikeyty/pen/gbEIJ"><div class="btn btn-hrt radius">Heart Me</div></a>
              @import url(https://fonts.googleapis.com/css?family=Open+Sans);

body {
  color: #444;
  font-family: 'Open Sans', sans-serif;
  background: #9AE4E8;
.container {
  position: relative;
  width: 400px;
  height: 270px;
  background: rgba(255,255,255,0.8) url(http://www.memphisconnect.com/wp-content/uploads/2013/09/Twitter-Bird.png) no-repeat;
  background-size: 30px;
  background-position:10px 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  padding: 10px;
.container h1 {
  color: #555;
  margin-top: 50px;
  line-height: 10px;
  font-weight: 400;
  text-shadow: 0 1px #777, 0 2px #1AB7EA, 0 3px #ccc, 0 4px #ddd;
.container h2 {
  color: #fff;
  font-size: 20px;
  line-height: 20px;
  font-weight: 400;
  margin: 10px 31px;
.container i {
  color: #ccc;
  font-size: 30px;
  margin: 9px;
.container p {
  width: 190px;
.auto {
  margin: 80px auto;
.btn {
  margin-bottom: 8px;
  text-align: center;
  font-size: 26px;
  color: #fff;
  height: 60px;
  width: 190px;
  line-height: 60px;
  text-shadow: 0px 2px 0 rgba(0,0,0,0.3);
  box-shadow: inset 0 0 10px rgba(0,0,0,0.2);
  transition: all 200ms;
.btn:hover {
  box-shadow: inset 0 0 10px rgba(0,0,0,0.9);
.btn-flw {
  background: #1AB7EA;
.btn-hrt {
  background: #D65076;
.preview {
  position: relative;
  float: right;
  width: 160px;
  height: 229px;
  background: #222;
  padding: 20px;
  box-shadow: inset 0 0 10px #111;
.radius {
  border-radius: 4px;
.pic {
  position: relative;
  width: 130px;
  height: 130px;
  background: #fff url("https://pbs.twimg.com/profile_images/378800000637103987/44db6dbb70b075995201f8922ed0751e.jpeg") no-repeat;
  background-size: 150px;
  background-position:-13px 0px;
  border: solid 2px #fff;
  box-shadow: 0 0 10px #000;
  margin: 10px;
  overflow: hidden;
  transition: all 1s;
.profile {
  position: absolute;
  background: rgba(255,255,255,0);
  text-align: center;
  color: transparent;
  width: 130px;
  height: 23px;
  padding: 2px 0 0;
  left: 0;
  top: 105px;
  transition: all 300ms;
.dim {
  position: absolute;
  background: rgba(0,0,0,0);
  width: 130px;
  height: 105px;
  left: 0;
  top: 0;
  transition: all 300ms;
.pic:hover .profile {
  background: rgba(255,255,255,0.8);
  color: #333;
.pic:hover .dim {
  background: rgba(0,0,0,0.3);
a {
  text-decoration: none;
Loading ..................