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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ add another resource


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


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.


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.

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.


                <a href="#">Home</a>
<a href="#">Products</a>
<a href="#">Services</a>
<a href="#">Contact</a>
<a href="#">Checkout</a>
<a href="#">CSS-Tricks Rules!</a>



                a {
  display: inline-block;
  margin-right: -4px; /* looks nice this way */
  font-family: trebuchet, helvetica;
  font-size: 1.25em;
  font-weight: 800;
  text-decoration: none;
  color: #555;
  text-transform: uppercase;
  text-shadow: 0 .5px #fff;
  background-color: #B5B5B5;
  padding: 20px;
  padding-left: 0px;
  padding-right: 0px;
  line-height: 100%;
  text-align: center;
  -khtml-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
  -webkit-border-radius: 20px;
  border-radius: 20px;
  border-radius: 30px\0/IE8+9; /* IE8 + 9 + IE10pp4  */
  border: 2px #555 solid;

    inset 0px 0px 0px 2px #fff,
    inset 0px 1px 1px 9px #B5B5B5, /* gradient inner */
    inset 0px 0px 0px 10px #555,
    inset 0px 35px 0px 0px #DCDCDC, /* curvy things to each side */
    0px 2px 5px 0px #666; /* gradient outer */
  transition: all 1s ease; /* this timing number is different than the :before and :after timing number so as to make them all change seemingly at the same time */

a:before, a:after {
  font-size: 1.375em;
  color: #888; 
  line-height: 100%;
  content: "\2605";
  transition: all .25s ease;

a:hover, a:hover:before, a:hover:after {
  color: green;

a:before {
  margin-right: 8px !important;
  margin-left: 20px !important;

a:after {
  margin-right: 20px !important;
  margin-left: 8px !important;