Pen Settings

HTML

CSS

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

JavaScript

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

Behavior

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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

HTML

              
                    <article class='beauty'>
        <h2>Tesla’s fortunes spin after SEC accuses CEO Elon Musk of violating a tweet deal</h2>
        <dl>
            <dt>Author</dt>       <dd>Alan Boyle</dd>
            <dt>Published</dt>    <dd>2019-02-26</dd>
            <dt>Time to read</dt> <dd>7.8
                                      minutes
                                  </dd>
        </dl>
        <h3>First paragraph</h3>
        <p>Tesla CEO Elon Musk is in trouble again with the Securities and Exchange Commission, this time over a 13-word tweet.</p>
        <h3>Tweets (8)</h3>
        <blockquote class="twitter-tweet" data-conversation="none" data-width="550" data-dnt="true"><p lang="en" dir="ltr">Tesla made 0 cars in 2011, but will make around 500k in 2019</p>
<p>— Elon Musk (@elonmusk) <a href="https://twitter.com/elonmusk/status/1098013283372589056?ref_src=twsrc%5Etfw">February 20, 2019</a></p></blockquote><blockquote class="twitter-tweet" data-conversation="none" data-width="550" data-dnt="true"><p lang="en" dir="ltr">Meant to say annualized production rate at end of 2019 probably around 500k, ie 10k cars/week. Deliveries for year still estimated to be about 400k.</p>
<p>— Elon Musk (@elonmusk) <a href="https://twitter.com/elonmusk/status/1098080063801585664?ref_src=twsrc%5Etfw">February 20, 2019</a></p></blockquote><blockquote class="twitter-tweet" data-conversation="none" data-width="550" data-dnt="true"><p lang="en" dir="ltr">SEC forgot to read Tesla earnings transcript, which clearly states 350k to 500k. How embarrassing … ?</p>
<p>— Elon Musk (@elonmusk) <a href="https://twitter.com/elonmusk/status/1100215984713957376?ref_src=twsrc%5Etfw">February 26, 2019</a></p></blockquote><blockquote class="twitter-tweet" data-conversation="none" data-width="550" data-dnt="true"><p lang="en" dir="ltr">Good thing judges are awesome</p>
<p>— Alexandre Andrianov (@alexmd2) <a href="https://twitter.com/alexmd2/status/1100216236263292929?ref_src=twsrc%5Etfw">February 26, 2019</a></p></blockquote><blockquote class="twitter-tweet" data-conversation="none" data-width="550" data-dnt="true"><p lang="en" dir="ltr">Indeed. I have great respect for judges. It’s not perfect, but, in general, we should be very glad of the US justice system.</p>
<p>— Elon Musk (@elonmusk) <a href="https://twitter.com/elonmusk/status/1100217156900290561?ref_src=twsrc%5Etfw">February 26, 2019</a></p></blockquote><blockquote class="twitter-tweet" data-conversation="none" data-width="550" data-dnt="true"><p lang="en" dir="ltr">Some thoughts: SEC filed for contempt for the court because the Tweet was not pre-filtered despite having potential to move the markets. Even if the tweet did not state anything wrong, it was clearly not pre-filtered and thus the SEC is technically right.</p>
<p>— Tesla Para Todos (@TeslaParaTodos) <a href="https://twitter.com/TeslaParaTodos/status/1100210012406849537?ref_src=twsrc%5Etfw">February 26, 2019</a></p></blockquote><blockquote class="twitter-tweet" data-conversation="none" data-width="550" data-dnt="true"><p lang="en" dir="ltr">But it didn’t move the markets and the SEC complaint did…. where is the enforcement committee that protects the small investor from the SEC Enforcement committee???</p>
<p>— Driving Slate (@DrivingSlate) <a href="https://twitter.com/DrivingSlate/status/1100370826245812224?ref_src=twsrc%5Etfw">February 26, 2019</a></p></blockquote><blockquote class="twitter-tweet" data-conversation="none" data-width="550" data-dnt="true"><p lang="en" dir="ltr">Exactly. This has now happened several times. Something is broken with SEC oversight.</p>
<p>— Elon Musk (@elonmusk) <a href="https://twitter.com/elonmusk/status/1100371207491248128?ref_src=twsrc%5Etfw">February 26, 2019</a></p></blockquote>
        <h3>Figures (1)</h3>
        <figure><img src="https://cdn.geekwire.com/wp-content/uploads/2016/11/161117-musk-630x386.jpg" alt="Image: Elon Musk" srcset="https://cdn.geekwire.com/wp-content/uploads/2016/11/161117-musk-630x386.jpg 630w, https://cdn.geekwire.com/wp-content/uploads/2016/11/161117-musk-768x471.jpg 768w, https://cdn.geekwire.com/wp-content/uploads/2016/11/161117-musk.jpg 1096w" sizes="(max-width: 630px) 100vw, 630px"><figcaption>Tesla CEO Elon Musk’s Twitter habit has sparked gyrations in the stock market. (Tesla via YouTube)</figcaption></figure>
    </article>
              
            
!

CSS

              
                article {
  font-family: "Benton Sans", Sans-Serif;
  line-height: 23px;
  font-size: 17.008px;
  font-style: normal;
  background-color: #f9f9f9;
  padding: 20px;
  border: 0.063rem dotted #d0d0d0;
}
article h2,
h3,
h4,
h5,
h6 {
  font-family: Majerit, serif;
  font-weight: 700;
}
article p {
  margin-bottom: 10px;
  color: #444;
}
article dl {
  margin-top: 30px;
}
article dd {
  margin-left: 20px;
}
article figure {
  display: table;
  margin: 0 auto;
}
article figure img {
  width: 100%;
  height: auto;
}
article figcaption {
  display: table-caption;
  caption-side: bottom;
  border-bottom: 0.063rem dotted #d0d0d0;
  margin-bottom: 10px;
  line-height: 22px;
  font-size: 13px;
  color: #646464;
  text-align: center;
}
article figcaption * {
  text-align: center;
  font-size: 13px;
  color: #646464;
}
article figcaption p {
  margin-bottom: 0px;
}

              
            
!

JS

              
                
              
            
!
999px

Console