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. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ 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.


shape-outside: <span>url(foo.svg)</span>;</pre>
  <img src="" alt=""/>
    Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Amet cursus sit amet dictum sit amet. Eget est lorem ipsum dolor. Viverra ipsum nunc aliquet bibendum enim. Ullamcorper malesuada proin libero nunc consequat interdum varius sit amet. Diam donec adipiscing tristique risus nec feugiat in. Et netus et malesuada fames. Quisque id diam vel quam elementum pulvinar etiam. Cursus turpis massa tincidunt dui ut ornare lectus. Quam elementum pulvinar etiam non quam lacus suspendisse faucibus interdum. Sed cras ornare arcu dui vivamus arcu. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
<div class="links">
  <a class="link-ciu" target="_blank" href="">Can i use</a>
  <a target="_blank" href="">MDN</a>



                * {
  box-sizing: border-box;

html {
  height: 100%;

body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  background-image: linear-gradient(-20deg, #691057 0%, #34ccc6 100%);

main {
  position: relative;
  max-width: 480px;
  max-height: 480px;
  padding: 20px;
  overflow: hidden;
  background: #fff;
  img {
    position: relative;
    display: block;
    float: right;
    margin-top: -20px;
    margin-right: -110px;
    max-width: 130%;
    shape-outside: url(;
    shape-margin: 10px;
  p {
    margin: 0 0 1rem;

h1 {
  color: #fff;
  margin: 0;
  pre {
    span {
      background-color: rgba(#000,.15);
      padding: 0.3rem;
      border-radius: 6px;

.links {
  color: #fff;
  margin: 1rem auto;
  a {
    display: inline-block;
    color: #fff;
    font-size: 0.8rem;