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="">My Site</a>


body {
    height: 100%;

body {
    color: #fff;
    background: transparent repeating-linear-gradient(45deg, #00E178, #00E178 22px, #3686FF 22px, #3686FF 44px, #9013FE 44px, #9013FE 66px, #FF0083 66px, #FF0083 88px, #FED441 88px, #FED441 110px, #00E178 110px) repeat-x scroll 0% 0%;

div {
    width: 500px;
    max-width: 100%;
    margin: 50px auto;

a {
    display: inline-block;
    text-decoration: none;
    font-family: 'Ubuntu', sans-serif;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    padding: 10px 20px;
    font-size: 30px;
    border: 2px solid #fff;
    margin: 8px;
    -ms-transform: scale(0.9);
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
    box-shadow: 4px 4px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s cubic-bezier(0.34, 1.65, 0.88, 0.925) 0s;
    outline: 0;

button:nth-child(1) {
    -ms-transform: rotate(5deg) scale(0.9);
    -webkit-transform: rotate(5deg) scale(0.9);
    transform: rotate(5deg) scale(0.9);

button:nth-child(1):hover {
    background: #00E178;

button:nth-child(2) {
    -ms-transform: rotate(-7deg) scale(0.9);
    -webkit-transform: rotate(-7deg) scale(0.9);
    transform: rotate(-7deg) scale(0.9);

button:nth-child(2):hover {
    background: #3686FF;

a {
    -ms-transform: rotate(12deg) scale(0.9);
    -webkit-transform: rotate(12deg) scale(0.9);
    transform: rotate(12deg) scale(0.9);

a:hover {
    background: #FF0083;

a:hover {
    -ms-transform: rotate(0deg) scale(1.2);
    -webkit-transform: rotate(0deg) scale(1.2);
    transform: rotate(0deg) scale(1.2);

a:active {
    -ms-transform: rotate(0deg) scale(1);
    -webkit-transform: rotate(0deg) scale(1);
    transform: rotate(0deg) scale(1);


 * Inspired by
 * Licensed under MIT, use it anywhere!