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.
<div style="font-size: medium; font-family: sans-serif;"> <!-- base size 16 --> font size is 16px <div style="font-size: 0.9em"> <!-- could also be font-size: 50%--> font size is 14.4px (16 * 0.9) <div style="font-family: monospace"> <!-- base size 13 --> font size is 11.7px! (13 * 0.9) </div> </div> </div>
Also see: Tab Triggers