Babel includes JSX processing.
Any URL's added here will be added as
Private Pens are hidden everywhere on CodePen, except to you. You can still share them and other people can see them, they just can't find them through searching or browsing.Upgrade to PRO
If active, Pens will autosave every 30 seconds after being saved once.
If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.
If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.
Visit your global Editor Settings.
Templates are Pens that can be used to start other Pens quickly from the create menu. The new Pen will copy all the code and settings from the template and make a new Pen (that is not a fork). You can view all of your templates, or learn more in the documentation.
Any Pen can act as a template (even if you don't flip the toggle above) with a special URL you can use yourself or share with others. Here's this Pen's template URL:
Screenshots of Pens are shown in mobile browsers, RSS feeds, to users who chose images instead of iframes, and in social media sharing.
.flex .flex-item.n1 width: 200px; .flex-item.n2 flex-basis: 200px; (height 200px in this case)
html, body height 100% .flex display flex background orange height 100% flex-direction column .flex-item font-size 22px color white padding 10px 30px .n1 background green width 200px .n2 background red flex-basis 200px
Also see: Tab Triggers