Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource

JavaScript

Babel includes JSX processing.

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

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Auto Save

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="wrapper">
  <div class="box" id="facebook">&#62220;</div>
  <div class="box" id="twitter">&#62217;</div>
  <div class="box" id="google">&#62223;</div>
  <div class="box" id="linkedin">&#62232;</div>
  <div class="box" id="dribbble">&#62235;</div>
  <div class="box" id="pinterest">&#62226;</div>
  <div class="box" id="vimeo">&#62214;</div>
  <div class="box" id="paypal">&#62274;</div>
</div>
              
            
!

CSS

              
                @import url('http://weloveiconfonts.com/api/?family=entypo');

body {
  background: #ddd;
}
.wrapper {
  padding: 120px 0 0;
  text-align: center;
}
.box {
  display: inline-block;
  width: 50px;
  height: 50px;
  margin: 0 10px;
  line-height: 50px;
  font-family: Entypo;
  font-size: 28px;
  text-align: center;
  color: #555;
  border-radius: 10px;
  background: #eee;
  overflow: hidden;
  cursor: pointer;
  transition: .30s;
  box-shadow: rgb(210, 210, 210) 1px 1px,
    rgb(210, 210, 210) 2px 2px,
    rgb(211, 211, 211) 3px 3px,
    rgb(211, 211, 211) 4px 4px,
    rgb(211, 211, 211) 5px 5px,
    rgb(212, 212, 212) 6px 6px,
    rgb(212, 212, 212) 7px 7px,
    rgb(212, 212, 212) 8px 8px,
    rgb(213, 213, 213) 9px 9px,
    rgb(213, 213, 213) 10px 10px,
    rgb(214, 214, 214) 11px 11px,
    rgb(214, 214, 214) 12px 12px,
    rgb(214, 214, 214) 13px 13px,
    rgb(215, 215, 215) 14px 14px,
    rgb(215, 215, 215) 15px 15px,
    rgb(215, 215, 215) 16px 16px,
    rgb(216, 216, 216) 17px 17px,
    rgb(216, 216, 216) 18px 18px,
    rgb(216, 216, 216) 19px 19px,
    rgb(217, 217, 217) 20px 20px,
    rgb(217, 217, 217) 21px 21px,
    rgb(218, 218, 218) 22px 22px,
    rgb(218, 218, 218) 23px 23px,
    rgb(218, 218, 218) 24px 24px,
    rgb(219, 219, 219) 25px 25px,
    rgb(219, 219, 219) 26px 26px,
    rgb(219, 219, 219) 27px 27px,
    rgb(220, 220, 220) 28px 28px,
    rgb(220, 220, 220) 29px 29px,
    rgb(221, 221, 221) 30px 30px;
}
.box:hover {
	transition: .30s;
	color: white;	
}
#facebook:hover {
	background-color: #3a5795;
}
#twitter:hover {
	background-color: #00acee;
}
#google:hover {
	background-color: #dd4b39;
}
#linkedin:hover {
	background-color: #0e76a8
}
#dribbble:hover {
	background-color: #ea4c89;
}
#pinterest:hover {
	background-color: #c8232c;
}
#vimeo:hover {
	background-color: #86c9ef;
}
#paypal:hover {
	background-color: #3b7bbf;
}
              
            
!

JS

              
                /*
inspired by Oliver Knoblich
https://codepen.io/oknoblich
*/
              
            
!
999px

Console