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

              
                <main>
  <p style="display: none">
    Caramels cotton candy candy jelly-o macaroon soufflé dragée shortbread toffee. Halvah pastry donut lemon drops shortbread. Danish dragée powder dragée dessert pudding dessert muffin. Marzipan bear claw brownie jujubes powder. Lollipop sesame snaps cake icing apple pie jelly-o chocolate bar pastry brownie. Gummies jelly beans sesame snaps donut candy bear claw chocolate bar icing. Danish jelly beans pudding danish carrot cake cupcake. Chupa chups lemon drops chocolate jelly beans marshmallow topping marzipan. Cake biscuit bear claw cotton candy oat cake bear claw. Jelly candy marzipan cake jelly beans marshmallow fruitcake ice cream. Candy canes jelly beans bear claw soufflé bonbon muffin sesame snaps tootsie roll. Croissant cheesecake shortbread apple pie sweet brownie. Jelly fruitcake danish candy chocolate cake sweet roll. Apple pie tart cheesecake cake croissant halvah sweet roll carrot cake gummi bears.

Tootsie roll powder pie lollipop tart jelly lollipop. Shortbread sugar plum gummies chocolate cake bonbon. Chocolate pudding macaroon croissant candy canes jelly beans sweet roll pie apple pie. Cake cupcake chupa chups shortbread caramels jujubes cake. Cupcake tart chocolate chocolate bar ice cream danish chocolate cookie icing. Candy cookie liquorice apple pie jelly beans. Chocolate cake jujubes muffin wafer jelly-o marshmallow cake dessert jelly-o. Pie gummies cake wafer tootsie roll. Tart chupa chups liquorice caramels tiramisu candy gingerbread cupcake. Cookie oat cake fruitcake candy marshmallow toffee. Macaroon cookie halvah donut fruitcake cake bear claw sweet roll. Sesame snaps cookie muffin cookie topping apple pie gummi bears donut. Jelly gummies jelly-o danish apple pie.

Caramels cake chupa chups tart marzipan. Cotton candy oat cake liquorice jelly-o bear claw chocolate powder. Cupcake cheesecake pastry biscuit marshmallow fruitcake tiramisu. Ice cream halvah apple pie pie carrot cake pastry. Chocolate cake pie dragée dessert sesame snaps. Shortbread bear claw apple pie macaroon ice cream liquorice soufflé jelly beans liquorice. Bonbon liquorice gummies ice cream wafer candy canes jelly beans soufflé. Sweet roll pie donut marshmallow topping. Candy bonbon lemon drops jujubes bonbon cookie jujubes topping. Ice cream sugar plum apple pie gummi bears dessert jelly beans soufflé. Jujubes oat cake apple pie donut fruitcake lollipop. Liquorice cheesecake marshmallow sesame snaps powder jelly-o.
  </p>
</main>
              
            
!

CSS

              
                html {
  display: grid;
  min-height: 100%;
}
body {
  display: grid;  
}
main {
  background: lightblue;
}

p {
  margin: 0;
  font-size: 30px;
}
              
            
!

JS

              
                
              
            
!
999px

Console