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.


  <p><a href="" target="_blank"><strong>Kanye West</strong></a> performed at the first annual Roc City Classic tonight in New York City, an event streamed on <a href="" target="_blank"><strong>Jay Z</strong></a>‘s <em>Life+Times</em> website that&nbsp;also featured NBA star&nbsp;Kevin Durant.</p>
  <p>Kanye’s set&nbsp;consisted predominantly of material from 2013’s <em>Yeezus</em> album, however he also performed ‘Clique,’ ‘Blessings,’ ‘I Don’t Fuck With You’ and ‘Mercy’ with the <a href="" target="_blank"><strong>G.O.O.D. Music</strong></a> crew&nbsp;before wrapping things up with his latest single ‘Only One’.</p>
  <p>Earlier today, Kanye debuted a new track entitled <a href="" target="_blank"><strong>‘Wolves’</strong></a> featuring&nbsp;<strong><a href="" target="_blank">Sia</a>&nbsp;</strong>and <a href="" target="_blank"><b>Vic Mensa</b></a>. [via <a href="" target="_blank"><strong><em>Pitchfork</em></strong></a>]</p>
  <p class="note">This is a recreation of the link hover effect from <a href=""></a></small>


                @import "compass/css3";

/* Link hover effect from */

@import url(,700,400italic);

$link-color: #E71818;
$text-color: #442;
$article-font: Noto serif, serif;

article {
  color: $text-color;
  font-family: $article-font;
  margin: 5em auto;
  max-width: 30em;
p {
  font-size: 18px;
  line-height: 1.5;
article a {
  @extend %fancy-link;
.note {
  display: inline-block;
  border-top: 1px solid $link-color;
  color: #777;
  font-size: .8em;
  font-style: italic;
  margin-top: 2em;
  padding-top: 1em;
%fancy-link {
  color: $link-color;
  position: relative;
  text-decoration: none;
  transition: all 0.15s ease-out;
  &:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: 0px;
    left: 0;
    background: #f00;
    visibility: hidden;
    transform: scaleX(0);
    transition: all 0.3s ease-in-out 0s;
  &:hover {
    transition: all 0.15s ease-out;
    &:before {
        visibility: visible;
        transform: scaleX(1);