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

              
                <h1>Fake Terms of Service</h1>

<p>
  This is part of a fake Terms of Service document used in the post Conveying <a href="https://adrianroselli.com/2022/08/conveying-all-caps-legal-text.html" target="_top"><cite>All-Caps Legal Text</a></cite>.
</p>

<h2>Disclaimer and Limitation of Liability</h2>

<p>
All-Caps-Co, Inc.’s liability for damages incurred by or to customers are covered here:
</p>

<h3>Disclaimer</h3>

<p>
The Products and all included content are provided on an "as is" basis without warranty of any kind, whether express or implied.
</p>

<p>
ALL-CAPS-CO, INC. SPECIFICALLY DISCLAIMS ANY AND ALL WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT, AND ANY WARRANTIES ARISING OUT OF COURSE OF DEALING OR USAGE OF TRADE.
</p>

<p>
All-Caps-Co, Inc. takes <span class="caps">no responsibility</span> and assumes <span class="caps msg">NO LIABILITY</span> for any User Content that you or any other user or third party posts or transmits using our Products.
</p>

<h3>Limitation of Liability</h3>

<p>
You understand and agree that you may be exposed to User Content that is inaccurate, objectionable, inappropriate for children, or otherwise unsuited to your purpose.
</p>

<p>
TO THE MAXIMUM EXTENT PERMITTED BY LAW, ALL-CAPS-CO, INC. SHALL NOT BE LIABLE FOR ANY INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL, PUNITIVE, OR SPECIAL DAMAGES, LOSS OF PROFITS, DATA OR REVENUES, OR OTHER INTANGIBLE LOSSES, RESULTING FROM ANY OF THE FOLLOWING:
</p>

<ul>
  <li><span class="caps">Your use of our products</span></li>
  <li><span class="caps msg">Your inability to access or use any of our products</span></li>
  <li><span class="msg">UNAUTHORIZED ACCESS OR USE OF OUR PRODUCTS, INCLUDING UNAUTHORIZED ACCESS OR USE OF YOUR TRANSACTIONS, TRANSMISSIONS OR CONTENT</span></li>
  <li><span class="msg hide">ACCESS OR USE OF OUR PRODUCTS BY ANY THIRD PARTY, INCLUDING OFFENSIVE, DEFAMATORY OR ILLEGAL </span></li>
  <li><span class="caps msg hide">Storing it at your country club after repeatedly denying its presence for over a year.</span></li>
  <li><span class="hide">Important text: </span>REPEATEDLY PRESSING THE OFF BUTTON<span class="hide">; End important text</span></li>
</ul>
              
            
!

CSS

              
                body {
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto,
    Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  line-height: 1.4;
  /*   line-height: 1.5; */
  /*   letter-spacing: 0.12em; */
  /*   word-spacing: 0.16em; */
}

.caps {
  text-transform: uppercase;
}

.msg::before {
  content: "Important text: ";
}

.msg::after {
  content: "; End important text";
}

.msg.hide:not(:focus):not(:active)::before, .msg.hide:not(:focus):not(:active)::after,
.hide:not(:focus):not(:active):not(.msg) {
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0); 
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  white-space: nowrap; 
}

              
            
!

JS

              
                
              
            
!
999px

Console