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.




                /* ==========================================================================
    ๐Ÿ“ Pure CSS Breakpoint utility
    Will show a different colored bar for each size based on the breakpoints
    of your site, so you know when you hit the breakpoints and can style your
    site more quickly. ๐Ÿ˜ƒ
    These breakpoints are set to Ionic Framework's breakpoint, but you can make 
    them what ever you want. 
   ========================================================================== */

body::before {
  /* Uncomment ๐Ÿ‘‡ this to turn it off */
  /*  display: none;  */
  position: absolute;
  padding: 4px;
  left: 0;
  right: 0;
  opacity: 0.5;
  color: #000;
  z-index: 1000;

@media (min-width: 0px) {
  body::before {
    content: "xs - min-width: 0px";
    background: rgb(220 38 38);

@media (min-width: 575px) {
  body::before {
    content: "sm - min-width: 575px";
    background: rgb(251 146 60);

@media (min-width: 768px) {
  body::before {
    content: "md - min-width: 768px";
    background: rgb(163 230 53);

@media (min-width: 992px) {
  body::before {
    content: "lg - min-width: 992px";
    background: rgb(96 165 250);

@media (min-width: 1200px) {
  body::before {
    content: "xl - min-width: 1200px";
    background: rgb(167 139 250);

/* You don't need this ๐Ÿ‘‡ It's just for Codepen. */

body {
  margin: 0;
  height: 100vh;
  width: 100%vw;
  font-family: Arial;