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="instagram">
    <div class="flash">
		</div>
		<div class="up">
			<div class="rainbow"></div>
			<div class="eye"></div>
		</div>
		<div class="lent">
		</div>
	</div>

<!-- Put the mouse hover the icon -->
            
          
!
            
              @import url(https://fonts.googleapis.com/css?family=Alfa+Slab+One);

body {
  font-family: 'Alfa Slab One', cursive;
  background: #333;
  color: #e7e2df;
  width: 100%;
  overflow: hidden;
}
.instagram {
  margin: 50px auto;
  width: 200px;
  height: 200px;
  background: #ccc;
  -webkit-border-radius: 40px;
  -moz-border-radius: 40px;
  border-radius: 40px;
  border: 3px solid rgba(41, 38, 38, 0.5);
  border-width: 5px 0;
  position: relative;
  border-width: 0 0 6px;
  -moz-box-shadow: inset 0px 0px 30px #000;
  -webkit-box-shadow: inset 0px 0px 30px #000;
  box-shadow: inset 0px 0px 30px #000000, 0px -137px 300px #ffffff;
  background: -moz-radial-gradient(center, ellipse cover, #f4f1ec 0%, #f4f1ec 31%, #785e51 100%);
  /* FF3.6+ */

  background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, #f4f1ec), color-stop(31%, #f4f1ec), color-stop(100%, #785e51));
  /* Chrome,Safari4+ */

  background: -webkit-radial-gradient(center, ellipse cover, #f4f1ec 0%, #f4f1ec 31%, #785e51 100%);
  /* Chrome10+,Safari5.1+ */

  background: -o-radial-gradient(center, ellipse cover, #f4f1ec 0%, #f4f1ec 31%, #785e51 100%);
  /* Opera 12+ */

  background: -ms-radial-gradient(center, ellipse cover, #f4f1ec 0%, #f4f1ec 31%, #785e51 100%);
  /* IE10+ */

  background: radial-gradient(ellipse at center, #f4f1ec 0%, #f4f1ec 31%, #785e51 100%);
  /* W3C */

}
.up {
  width: 200px;
  height: 60px;
  background: #9a6d50;
  -webkit-border-radius: 40px 40px 0 0;
  -moz-border-radius: 40px 40px 0 0;
  border-radius: 40px 40px 0 0;
  border-bottom: 2px solid #311B02;
  z-index: 1;
  overflow: hidden;
  -moz-box-shadow: inset 0px 5px 9px rgba(255, 255, 255, 0.5);
  box-shadow: inset 0px 5px 9px rgba(255, 255, 255, 0.5);
  background: -moz-radial-gradient(top, ellipse cover, #cc7f73 12%, #742e22 70%);
  /* FF3.6+ */

  background: -webkit-gradient(radial, center top, 0px, center center, 100%, color-stop(12%, #cc7f73), color-stop(70%, #742e22));
  /* Chrome,Safari4+ */

  background: -webkit-radial-gradient(top, ellipse cover, #cc7f73 12%, #742e22 70%);
  /* Chrome10+,Safari5.1+ */

  background: -o-radial-gradient(top, ellipse cover, #cc7f73 12%, #742e22 70%);
  /* Opera 12+ */

  background: -ms-radial-gradient(top, ellipse cover, #cc7f73 12%, #742e22 70%);
  /* IE10+ */

  background: radial-gradient(ellipse at top, #cc7f73 12%, #742e22 70%);
  /* W3C */

}
.up .rainbow {
  margin: 0 16px;
  width: 30px;
  height: 60px;
  background: -moz-linear-gradient(left, rgba(252, 53, 84, 0.7) 25%, rgba(250, 199, 46, 0.7) 25%, rgba(250, 199, 46, 0.7) 50%, rgba(109, 202, 147, 0.7) 50%, rgba(109, 202, 147, 0.7) 75%, rgba(63, 141, 250, 0.7) 75%);
  /* FF3.6+ */

  background: -webkit-gradient(linear, left top, right top, color-stop(25%, rgba(250, 199, 46, 0.7)), color-stop(50%, rgba(109, 202, 147, 0.7)), color-stop(75%, rgba(63, 141, 250, 0.7)));
  /* Chrome,Safari4+ */

  background: -webkit-linear-gradient(left, rgba(252, 53, 84, 0.7) 25%, rgba(250, 199, 46, 0.7) 25%, rgba(250, 199, 46, 0.7) 50%, rgba(109, 202, 147, 0.7) 50%, rgba(109, 202, 147, 0.7) 75%, rgba(63, 141, 250, 0.7) 75%);
  /* Chrome10+,Safari5.1+ */

  background: -o-linear-gradient(left, rgba(250, 199, 46, 0.7) 25%, rgba(109, 202, 147, 0.7) 50%, rgba(63, 141, 250, 0.7) 75%);
  /* Opera 11.10+ */

  background: -ms-linear-gradient(left, rgba(250, 199, 46, 0.7) 25%, rgba(109, 202, 147, 0.7) 50%, rgba(63, 141, 250, 0.7) 75%);
  /* IE10+ */

  background: linear-gradient(to right, rgba(252, 53, 84, 0.7) 25%, rgba(250, 199, 46, 0.7) 25%, rgba(250, 199, 46, 0.7) 50%, rgba(109, 202, 147, 0.7) 50%, rgba(109, 202, 147, 0.7) 75%, rgba(63, 141, 250, 0.7) 75%);
  /* W3C */

  -moz-box-shadow: inset 0px 5px 9px rgba(255, 255, 255, 0.3);
  -webkit-box-shadow: inset 0px 5px 9px rgba(255, 255, 255, 0.3);
  box-shadow: inset 0px 5px 9px rgba(255, 255, 255, 0.3);
}
.up .rainbow:after {
  content: 'Insta';
  border: 1px solid #381604;
  -webkit-border-radius: 13px;
  -moz-border-radius: 13px;
  border-radius: 13px;
  font-size: 10px;
  text-shadow: 1px 1px 1px #000;
  color: #e7e2df;
  top: 55px;
  position: absolute;
  left: 14px;
  padding: 2px 4px;
  border-width: 0 0 1px;
  background: -moz-linear-gradient(-77deg, #361f02 0%, #8d6432 50%, #361f02 100%);
  /* FF3.6+ */

  background: -webkit-gradient(linear, left top, right bottom, color-stop(0%, #361f02), color-stop(50%, #8d6432), color-stop(100%, #361f02));
  /* Chrome,Safari4+ */

  background: -webkit-linear-gradient(-77deg, #361f02 0%, #8d6432 50%, #361f02 100%);
  /* Chrome10+,Safari5.1+ */

  background: -o-linear-gradient(-77deg, #361f02 0%, #8d6432 50%, #361f02 100%);
  /* Opera 11.10+ */

  background: -ms-linear-gradient(-77deg, #361f02 0%, #8d6432 50%, #361f02 100%);
  /* IE10+ */

  background: linear-gradient(-77deg, #361f02 0%, #8d6432 50%, #361f02 100%);
  /* W3C */

}
.up .eye {
  width: 30px;
  height: 30px;
  border: 3px solid rgba(255, 255, 255, 0.5);
  position: absolute;
  top: 15px;
  right: 15px;
  border-width: 3px 3px 3px;
  border-color: #520606 rgba(95, 27, 27, 0.71) rgba(218, 125, 125, 0.64);
  -webkit-border-radius: 9px;
  -moz-border-radius: 9px;
  border-radius: 9px;
  -moz-box-shadow: -1px 1px 0px rgba(255, 255, 255, 0.13), inset 0px 0px 7px #000000, inset 0px 12px 15px rgba(255, 255, 255, 0.3);
  -webkit-box-shadow: -1px 1px 0px rgba(255, 255, 255, 0.13), inset 0px 0px 7px #000000, inset 0px 12px 15px rgba(255, 255, 255, 0.3);
  box-shadow: -1px 1px 0px rgba(255, 255, 255, 0.13), inset 0px 0px 7px #000000, inset 0px 12px 15px rgba(255, 255, 255, 0.3);
  background: #333;
  background: -moz-radial-gradient(center, ellipse cover, #ffffff 0%, rgba(57, 39, 59, 0.77) 8%, rgba(32, 12, 35, 0.8) 9%, rgba(58, 42, 72, 0.97) 14%, rgba(59, 45, 74, 0.96) 15%, rgba(63, 70, 87, 0.92) 22%, rgba(68, 101, 104, 0.87) 31%, rgba(64, 79, 92, 0.79) 37%, rgba(60, 53, 78, 0.89) 44%, rgba(58, 42, 72, 0.93) 47%, rgba(0, 0, 0, 0.86) 50%, rgba(74, 109, 112, 0.81) 52%, rgba(73, 107, 110, 0.79) 53%, rgba(67, 98, 101, 0.81) 57%, #060309 100%);
  /* FF3.6+ */

  background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, #ffffff), color-stop(8%, rgba(57, 39, 59, 0.77)), color-stop(9%, rgba(32, 12, 35, 0.8)), color-stop(14%, rgba(58, 42, 72, 0.97)), color-stop(15%, rgba(59, 45, 74, 0.96)), color-stop(22%, rgba(63, 70, 87, 0.92)), color-stop(31%, rgba(68, 101, 104, 0.87)), color-stop(37%, rgba(64, 79, 92, 0.79)), color-stop(44%, rgba(60, 53, 78, 0.89)), color-stop(47%, rgba(58, 42, 72, 0.93)), color-stop(50%, rgba(0, 0, 0, 0.86)), color-stop(52%, rgba(74, 109, 112, 0.81)), color-stop(53%, rgba(73, 107, 110, 0.79)), color-stop(57%, rgba(67, 98, 101, 0.81)), color-stop(100%, #060309));
  /* Chrome,Safari4+ */

  background: -webkit-radial-gradient(center, ellipse cover, #ffffff 0%, rgba(57, 39, 59, 0.77) 8%, rgba(32, 12, 35, 0.8) 9%, rgba(58, 42, 72, 0.97) 14%, rgba(59, 45, 74, 0.96) 15%, rgba(63, 70, 87, 0.92) 22%, rgba(68, 101, 104, 0.87) 31%, rgba(64, 79, 92, 0.79) 37%, rgba(60, 53, 78, 0.89) 44%, rgba(58, 42, 72, 0.93) 47%, rgba(0, 0, 0, 0.86) 50%, rgba(74, 109, 112, 0.81) 52%, rgba(73, 107, 110, 0.79) 53%, rgba(67, 98, 101, 0.81) 57%, #060309 100%);
  /* Chrome10+,Safari5.1+ */

  background: -o-radial-gradient(center, ellipse cover, #ffffff 0%, rgba(57, 39, 59, 0.77) 8%, rgba(32, 12, 35, 0.8) 9%, rgba(58, 42, 72, 0.97) 14%, rgba(59, 45, 74, 0.96) 15%, rgba(63, 70, 87, 0.92) 22%, rgba(68, 101, 104, 0.87) 31%, rgba(64, 79, 92, 0.79) 37%, rgba(60, 53, 78, 0.89) 44%, rgba(58, 42, 72, 0.93) 47%, rgba(0, 0, 0, 0.86) 50%, rgba(74, 109, 112, 0.81) 52%, rgba(73, 107, 110, 0.79) 53%, rgba(67, 98, 101, 0.81) 57%, #060309 100%);
  /* Opera 12+ */

  background: -ms-radial-gradient(center, ellipse cover, #ffffff 0%, rgba(57, 39, 59, 0.77) 8%, rgba(32, 12, 35, 0.8) 9%, rgba(58, 42, 72, 0.97) 14%, rgba(59, 45, 74, 0.96) 15%, rgba(63, 70, 87, 0.92) 22%, rgba(68, 101, 104, 0.87) 31%, rgba(64, 79, 92, 0.79) 37%, rgba(60, 53, 78, 0.89) 44%, rgba(58, 42, 72, 0.93) 47%, rgba(0, 0, 0, 0.86) 50%, rgba(74, 109, 112, 0.81) 52%, rgba(73, 107, 110, 0.79) 53%, rgba(67, 98, 101, 0.81) 57%, #060309 100%);
  /* IE10+ */

  background: radial-gradient(ellipse at center, #ffffff 0%, rgba(57, 39, 59, 0.77) 8%, rgba(32, 12, 35, 0.8) 9%, rgba(58, 42, 72, 0.97) 14%, rgba(59, 45, 74, 0.96) 15%, rgba(63, 70, 87, 0.92) 22%, rgba(68, 101, 104, 0.87) 31%, rgba(64, 79, 92, 0.79) 37%, rgba(60, 53, 78, 0.89) 44%, rgba(58, 42, 72, 0.93) 47%, rgba(0, 0, 0, 0.86) 50%, rgba(74, 109, 112, 0.81) 52%, rgba(73, 107, 110, 0.79) 53%, rgba(67, 98, 101, 0.81) 57%, #060309 100%);
  /* W3C */

}
.lent {
  width: 90px;
  height: 90px;
  border: 6px solid #E6DEDB;
  margin: -17px auto;
  -webkit-border-radius: 100%;
  -moz-border-radius: 100%;
  border-radius: 100%;
  background: #333;
  position: relative;
  z-index: 2;
  -moz-box-shadow: 1px 7px 18px #333333, 0 -102px 46px rgba(255, 255, 255, 0.4), inset 0px 0px 25px #000000, inset 0px -41px 5px rgba(0, 0, 0, 0.5), inset 0px 48px 11px rgba(255, 255, 255, 0.4);
  -webkit-box-shadow: 1px 7px 18px #333333, 0 -102px 46px rgba(255, 255, 255, 0.4), inset 0px 0px 25px #000000, inset 0px -41px 5px rgba(0, 0, 0, 0.5), inset 0px 48px 11px rgba(255, 255, 255, 0.4);
  box-shadow: 1px 7px 18px #333333, 0 -102px 46px rgba(255, 255, 255, 0.4), inset 0px 0px 25px #000000, inset 0px -41px 5px rgba(0, 0, 0, 0.5), inset 0px 48px 11px rgba(255, 255, 255, 0.4);
  background: -moz-radial-gradient(center, ellipse cover, #ffffff 0%, rgba(57, 39, 59, 0.77) 8%, rgba(32, 12, 35, 0.8) 9%, rgba(58, 42, 72, 0.97) 14%, rgba(59, 45, 74, 0.96) 15%, rgba(63, 70, 87, 0.92) 22%, rgba(68, 101, 104, 0.87) 31%, rgba(64, 79, 92, 0.79) 37%, rgba(60, 53, 78, 0.89) 44%, rgba(58, 42, 72, 0.93) 47%, rgba(0, 0, 0, 0.86) 50%, rgba(74, 109, 112, 0.81) 52%, rgba(73, 107, 110, 0.79) 53%, rgba(67, 98, 101, 0.81) 57%, #060309 100%), #000000;
  /* FF3.6+ */

  background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, #ffffff), color-stop(8%, rgba(57, 39, 59, 0.77)), color-stop(9%, rgba(32, 12, 35, 0.8)), color-stop(14%, rgba(58, 42, 72, 0.97)), color-stop(15%, rgba(59, 45, 74, 0.96)), color-stop(22%, rgba(63, 70, 87, 0.92)), color-stop(31%, rgba(68, 101, 104, 0.87)), color-stop(37%, rgba(64, 79, 92, 0.79)), color-stop(44%, rgba(60, 53, 78, 0.89)), color-stop(47%, rgba(58, 42, 72, 0.93)), color-stop(50%, rgba(0, 0, 0, 0.86)), color-stop(52%, rgba(74, 109, 112, 0.81)), color-stop(53%, rgba(73, 107, 110, 0.79)), color-stop(57%, rgba(67, 98, 101, 0.81)), color-stop(100%, #060309)), #000000;
  /* Chrome,Safari4+ */

  background: -webkit-radial-gradient(center, ellipse cover, #ffffff 0%, rgba(57, 39, 59, 0.77) 8%, rgba(32, 12, 35, 0.8) 9%, rgba(58, 42, 72, 0.97) 14%, rgba(59, 45, 74, 0.96) 15%, rgba(63, 70, 87, 0.92) 22%, rgba(68, 101, 104, 0.87) 31%, rgba(64, 79, 92, 0.79) 37%, rgba(60, 53, 78, 0.89) 44%, rgba(58, 42, 72, 0.93) 47%, rgba(0, 0, 0, 0.86) 50%, rgba(74, 109, 112, 0.81) 52%, rgba(73, 107, 110, 0.79) 53%, rgba(67, 98, 101, 0.81) 57%, rgba(6, 3, 9, 0.1) 100%), #000000;
  /* Chrome10+,Safari5.1+ */

  background: -o-radial-gradient(center, ellipse cover, #ffffff 0%, rgba(57, 39, 59, 0.77) 8%, rgba(32, 12, 35, 0.8) 9%, rgba(58, 42, 72, 0.97) 14%, rgba(59, 45, 74, 0.96) 15%, rgba(63, 70, 87, 0.92) 22%, rgba(68, 101, 104, 0.87) 31%, rgba(64, 79, 92, 0.79) 37%, rgba(60, 53, 78, 0.89) 44%, rgba(58, 42, 72, 0.93) 47%, rgba(0, 0, 0, 0.86) 50%, rgba(74, 109, 112, 0.81) 52%, rgba(73, 107, 110, 0.79) 53%, rgba(67, 98, 101, 0.81) 57%, #060309 100%), #000000;
  /* Opera 12+ */

  background: -ms-radial-gradient(center, ellipse cover, #ffffff 0%, rgba(57, 39, 59, 0.77) 8%, rgba(32, 12, 35, 0.8) 9%, rgba(58, 42, 72, 0.97) 14%, rgba(59, 45, 74, 0.96) 15%, rgba(63, 70, 87, 0.92) 22%, rgba(68, 101, 104, 0.87) 31%, rgba(64, 79, 92, 0.79) 37%, rgba(60, 53, 78, 0.89) 44%, rgba(58, 42, 72, 0.93) 47%, rgba(0, 0, 0, 0.86) 50%, rgba(74, 109, 112, 0.81) 52%, rgba(73, 107, 110, 0.79) 53%, rgba(67, 98, 101, 0.81) 57%, #060309 100%), #000000;
  /* IE10+ */

  background: radial-gradient(ellipse at center, #ffffff 0%, rgba(57, 39, 59, 0.77) 8%, rgba(32, 12, 35, 0.8) 9%, rgba(58, 42, 72, 0.97) 14%, rgba(59, 45, 74, 0.96) 15%, rgba(63, 70, 87, 0.92) 22%, rgba(68, 101, 104, 0.87) 31%, rgba(64, 79, 92, 0.79) 37%, rgba(60, 53, 78, 0.89) 44%, rgba(58, 42, 72, 0.93) 47%, rgba(0, 0, 0, 0.86) 50%, rgba(74, 109, 112, 0.81) 52%, rgba(73, 107, 110, 0.79) 53%, rgba(67, 98, 101, 0.81) 57%, #060309 100%), #000000;
  /* W3C */

}
.flash {
  width: 1000%;
  height: 1000%;
  top: -1000px;
  bottom: 0;
  position: absolute;
  left: -1000px;
  right: 0;
  z-index: 300;
  background: rgba(255, 255, 255, 0);
}
body:hover .flash {
  -webkit-animation: big 0.2s ease-out 1s 3;
  -moz-animation: big 0.2s ease-out 1s 3;
  -o-animation: big 0.2s ease-out 1s 3;
  animation: big 0.2s ease-out 1s 3;
}
@-webkit-keyframes big {
  0% {
    background: #ffffff;
  }
  5% {
    opacity: rgba(255, 255, 255, 0);
  }
  100% {
    opacity: rgba(255, 255, 255, 0);
  }
}
@-moz-keyframes big {
  0% {
    background: #ffffff;
  }
  5% {
    opacity: rgba(255, 255, 255, 0);
  }
  100% {
    opacity: rgba(255, 255, 255, 0);
  }
}
@-ms-keyframes big {
  0% {
    background: #ffffff;
  }
  5% {
    opacity: rgba(255, 255, 255, 0);
  }
  100% {
    opacity: rgba(255, 255, 255, 0);
  }
}
@-o-keyframes big {
  0% {
    background: #ffffff;
  }
  5% {
    opacity: rgba(255, 255, 255, 0);
  }
  100% {
    opacity: rgba(255, 255, 255, 0);
  }
}
@keyframes big {
  0% {
    background: #ffffff;
  }
  5% {
    opacity: rgba(255, 255, 255, 0);
  }
  100% {
    opacity: rgba(255, 255, 255, 0);
  }
}
            
          
!
999px
Loading ..................

Console