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="gyrocontain">
  <div class="gyro"></div>
  <div class="gyrotext">Button</div>

              body {
  background: #131e2a;
  font-family: 'Roboto', sans-serif;

.gyrocontain {
  display: inline-block;
  width: 10px;
  background: #fff;

.gyro {
  background: #7790ac; /* Old browsers */
background: -moz-linear-gradient(top,  #7790ac 0%, #424f6a 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#7790ac), color-stop(100%,#424f6a)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #7790ac 0%,#424f6a 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #7790ac 0%,#424f6a 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #7790ac 0%,#424f6a 100%); /* IE10+ */
background: linear-gradient(to bottom,  #7790ac 0%,#424f6a 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7790ac', endColorstr='#424f6a',GradientType=0 ); /* IE6-9 */

  border-radius: 5px;
  box-shadow: inset 1px 1px 0 rgba(255,255,255,0.1),2px 2px 6px rgba(0,0,0,0.4);
  transition: all 160ms ease-out;
  opacity: 0.8;
  width: 130px;
  height: 60px;
  -webkit-transform: translateZ(0);
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  top: 42%;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-user-select: none;

.gyrocontain:hover .gyro {
  -webkit-transform: scaleX(1.05) scaleY(1.14);
  opacity: 9;

.gyrotext {
font-family: 'Roboto', sans-serif;
  position: absolute;
  padding: 19px 0 0 0;
  font-size: 16px;
  font-weight: 300;
  text-align: center;
  letter-spacing: 1px;
  text-shadow: 0 -1px 0 rgba(0,0,0,0.1);
  vertical-align: middle;
  color: #fff;
  margin: auto;
  left: 0;
  right: 0;
  top: 42%;
  opacity: 0.8;
  max-width: 100px;  
Loading ..................