Pen Settings



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


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.


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.


                <form action="" class="form-showcase"> <fieldset> <legend>Personal Details</legend> <label for="username">Desired Username:</label> <input type="text" id="username"> <label for="name">Full Name:</label> <input type="text" id="name"> <label for="email">Email Address:</label> <input type="email" id="email"> <label for="date">Date of Birth:</label> <input type="date" id="date"> </fieldset> <br> <fieldset> <legend>Contact Details</legend> <label for="address">Home Address:</label> <input type="text" id="address"> <label for="postal">Postal Code:</label> <input type="text" id="postal"> <label for="phone">Phone Number:</label> <input type="tel" id="phone"> </fieldset> <br> <fieldset> <legend>Select an Option</legend> <label for="radio-1"> <input type="radio" id="radio-1" name="radio-choice"> The option is pretty nice </label> <label for="radio-2"> <input type="radio" id="radio-2" name="radio-choice"> This option is a little bit better </label> <label for="radio-3"> <input type="radio" id="radio-3" name="radio-choice"> This option is the best </label> </fieldset> <br> <fieldset> <legend>Notifications</legend> <label for="checkbox-1"> <input type="checkbox" id="checkbox-1"> I would like to receive email notifications </label> <label for="checkbox-2"> <input type="checkbox" id="checkbox-2"> I would like to subscribe to the weekly newsletter </label> </fieldset> <br> <input type="reset" value="Reset"> <input type="submit" value="Submit"> </form>


                * {
    box-sizing: border-box;

body {
    margin: 1rem auto;
    max-width: 600px;

.form-showcase { background: papayawhip; padding: 10px; } .form-showcase legend { font-family: "Helvetica", "Arial", sans-serif; font-size: 80%; font-weight: 600; text-transform: uppercase; } .form-showcase label { display: block; } .form-showcase input { display: inline-block; font-size: 24px; margin-bottom: 10px; padding: 10px; width: 100%; } .form-showcase input[type="radio"], .form-showcase input[type="checkbox"], .form-showcase input[type="reset"], .form-showcase input[type="submit"] { width: auto; }