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 is required to process package imports. If you need a different preprocessor remove all packages first.

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


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.


                <h1>Fun with <code>text-decoration</code>!</h1>

<p><span class="wavy">The wavy underline is created with</span> <code>text-decoration: wavy underline</code>.</p>

<p><span class="dashed">A dashed underline uses</span> <code>text-decoration: dashed underline</code>.</p>

<p><span class="double">Add a splash of color...</span></p>

<p><span class="dotted">Like this:</span> <code>text-decoration: #f44336 dotted underline</code>.</p>

<p><span class="over">Even put a line <em>above</em> the text with</span> <code>text-decoration: underline overline</code>.</p>

<p>And for letters that drop below the underline (<span class="skip">the quick brown fox jumps over the lazy dog</span>): <code>text-decoration-skip: ink</code>.</p>


*:after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;

body {
  font: 1.4em/1.75 sans-serif;
  margin: 1em;

h1 {
  font-size: 1.5em;
  margin-bottom: .5em;

p {
  margin-bottom: 1.5em

li {
  list-style: none;
  padding-bottom: .75em;

.wavy {
  text-decoration: #ec407a wavy underline;

.double {
  text-decoration: #a0f double underline;

.dashed {
  text-decoration: #26a69a dashed underline;

.dotted {
  text-decoration: #d50000 dotted underline;

.over {
  text-decoration: #00c853 overline underline;

.skip {
  text-decoration: #2962ff underline;
  text-decoration-skip: ink;

/* general styling */
pre {
  background-color: rgba(0, 0, 0, 0.04);
  border-radius: 3px;
  font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
  padding: 3px;

code {
  white-space: nowrap;