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

              
                <section>
<h1>Uncomment Values in CSS</h1>
<h2>我家没有电脑。</h2>
<dl>
  <dt>vertical-rl</dt>
  <dd>
    vertical text flow top-to-bottom --
    wrapping left-to-right.
    Characters orient based on language defaults.
  </dd>
  <dt>vertical-lr</dt>
  <dd>
    vertical text flow top-to-bottom --
    wrapping left-to-right.
    Characters orient based on language defaults.
    For latin characters, this feels backwards.
  </dd>
  <dt>sideways-rl</dt>
  <dd>
    All characters are turned sideways,
    and oriented so that right-to-left
    wrapping is natural.
  </dd>
  <dt>sideways-lr</dt>
  <dd>
    All characters are turned sideways,
    and oriented so that left-to-right
    wrapping is natural.
    This is often bottom-to-top.
  </dd>
</dl>  
</section>

              
            
!

CSS

              
                section {
  writing-mode: horizontal-tb;
/*   writing-mode: vertical-rl; */
/*   writing-mode: vertical-lr; */
/*   writing-mode: sideways-rl; */
/*   writing-mode: sideways-lr; */
  
  text-orientation: mixed;
/*   text-orientation: upright; */
/*   text-orientation: sideways; */
  
/*   transform: rotate(0.5turn); */
  padding: 1em;
}

dl {
  background: lightgray;
/*   width: 75vw; */
/*   inline-size: 75vw;  */
/*   text-align: end; */
}

dd {
  padding-bottom: 1em;
/*   padding-block-end: 1em; */
/*   padding-inline-end: 1em; */
}



/* readability... */
body {
  font-size: calc(20px + 0.25vw);
}

dt {
  font-weight: bold;
}

              
            
!

JS

              
                
              
            
!
999px

Console