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

              
                <article class="text"><p><br/><br/>When <a href="#">Hillary Clinton</a> ran for the Senate in 2000, she tried to do something very strange: <a href="#">She tried to campaign by listening.</a> It was called her “listening tour,” and the press did not like it. “Mrs. Clinton brings to her public appearances a great deal of poise and seriousness of purpose which, <a href="#">more than anything</a> she actually says, is what the events tend to be about,” reported the New Yorker, in a piece representative of much of the coverage <a href="#">I found from that time.</a> “This was the singular insight of the First Lady’s unprecedented ‘listening tour,’ <a href="#">during which she tried</a> to elevate nodding into a kind of political philosophy.”
<br/><br/>
</p>
  <a href="http://www.vox.com/a/hillary-clinton-interview/the-gap-listener-leadership-quality"><h4>READ VOX ARTICLE</h4></a></article>
              
            
!

CSS

              
                @import 'https://fonts.googleapis.com/css?family=Lato';

body {
    background-color: #f7f9f7;
    color: #292929;
    font-family: "Lato", serif;
    font-size: 18px;
    min-width: 300px;
}

article {
    margin: 0 auto;
    padding: 0 15px;
    max-width: 610px;
    width: 100%;
}
a{
      color: #292929;
  background-color: transparent;
    border-bottom: .1rem solid #feef35;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}
a:hover {
    border-bottom-color: #507176;
}

h4{
  display:inline-block;
position: relative;
  font-weight: 100;
  
}
h4::after{
    left: -.5rem;
    width: 107%;
    background: #feef35;
    bottom: -.325rem;
    content: '';
    height: 1.15rem;
    position: absolute;
    right: 0;
    z-index: -1;
   transition: all 0.2s ease-in-out;
}

h4:hover{
  cursor: pointer;
}
h4:hover::after{
  background: #ef6;
}

  p {
    line-height: 30px;
    margin-bottom: 30px;
    orphans: 3;
    widows: 3;
}
              
            
!

JS

              
                
              
            
!
999px

Console