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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

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


                <h1>:focus-visible example!</h1>
<h2>visually exploring web accessibility concepts</h2>
<p>1. Try clicking the link "I'm a link" below with your mouse.</p>
<p class="button">2. Click here to reset the focus.</p>
<p>3. Now click tab and observe the difference to clicking the link below with your mouse.</p>

<p><a class="aaaccessible" href="#">I'm a link</a></p>

<p>4. Press tab on your keyboard again to focus on the PriceWeber link, which does not have a specific :focus-visible selector defined to view your browser's default styling.</p>

<a class="footer" href="">Visit us at</a>



                body {
  font-family: system-ui;
  background: #333333;
  color: white;
  text-align: center;

h1 {
  font-size: 5vw;

h2 {
  font-size: 2vw;

a {
  color: white;
.aaaccessible:focus {
  color: yellow;
.aaaccessible:focus-visible {
  outline: 3px solid currentColor;

.button {
  margin: 0 auto;
  max-width: 300px;
  outline: 1px solid white;

.footer {