Pen Settings



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


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.


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.


                <h1>Demo a:link, a:focus, a:hover, a:active</h1>

<p><strong>Hier eine Übersicht wie die einzelnen Link-Zustände farblich gestaltet sind. </strong></p>
<span class="left" href="#">a:link</span>
<span class="left visited" href="#">a:visited</span>
<span class="left hover" href="#">a:hover</span>
<span class="left focus" href="#">a:focus</span>
<span class="left active" href="#">a:active</span>
<hr class="clear" />
  ANLEITUNG<br /> 1. Geh mit der Maus über den Link und klicke auf den Link<br /> 2. Navigieren per Tastatur (Tab-Taste) zum Link
  <em>[Der :visible status kommt aus Demonstrations-Gründen nicht vor]</em>
<a class="big" href="#">KlickMich</a>


                body {
  margin: 0 auto;
  padding: 3em;
  font-family: Arial, sans-serif;
  width: 600px;

/* link, visited, focus, hover, active */

span {
  padding: 0.5em 1em;
  background: #bddd8a;
  text-decoration: none;
  color: black;
  margin: 1em;
  display: inline-block;

a:link {
  box-shadow: 3px 3px 10px #444;

/* "deactivate" visited state visually for demo perpose*/

a:visited {
  background: #bddd8a;
  color: black;

.visited {
  background: #afadad;
  color: white;

.focus {
  background: orange;
  color: white;

.hover {
  background: #8caa5c;
  color: white;

.active {
  background: red;
  color: white;

/*helper styles */

.left {
  float: left;
  margin-right: 1em;

.clear {
  clear: both;

.big {
  padding: 1em 2em;
  font-size: 2em;
  font-weight: bold;