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

              
                <main>
  <article>
    <div class="article-body">
      <div class="section">
        <p class="has-dropcap">Carol McKinney Highsmith (born Carol Louise McKinney on May 18, 1946) is an American photographer, author, and publisher who has photographed in all the states of the United States, as well as the <a href="https://en.wikipedia.org/wiki/Washington,_D.C." title="Washington, D.C.">District of Columbia</a>, and <a href="https://en.wikipedia.org/wiki/Puerto_Rico" title="Puerto Rico">Puerto Rico</a>. She photographs the entire American vista (including landscapes, architecture, urban and rural life, and people in their work environments) in all fifty <a href="https://en.wikipedia.org/wiki/U.S._state" title="U.S. state">U.S. states</a> as a record of the early 21st century.</p>

        <p>Highsmith is donating her life’s work of more than 100,000 images, royalty-free, to the <a href="https://en.wikipedia.org/wiki/Library_of_Congress" title="Library of Congress">Library of Congress</a>, which established a rare, one-person archive.</p>

        <p>In 1976, Highsmith moved to Washington, D.C., and spent six years as a senior account executive for radio station <a href="https://en.wikipedia.org/wiki/WSBN" title="WSBN">WMAL</a> while taking classes at American University. She served on boards of directors including that of the <a href="https://en.wikipedia.org/wiki/Greater_Washington_Board_of_Trade" title="Greater Washington Board of Trade">Greater Washington Board of Trade</a>.</p>

        <p>By 1979, Highsmith won a national contest initiated by the Radio Advertising Bureau in New York for the nation’s most unusual sales effort. This stemmed from broadcasts from London and the <a href="https://en.wikipedia.org/wiki/Oktoberfest" title="Oktoberfest">Oktoberfest</a> in Germany that she had devised and organized. She traveled with the broadcast team on both trips. ABC ran a full-page ad in <i>The New York Times</i> promoting one of the broadcasts from London.</p>

        <p>
          <span aria-hidden="true"><span class="dropcap">C</span>arol</span>
          <span class="sr-only">Carol</span> McKinney Highsmith (born Carol Louise McKinney on May 18, 1946) is an American photographer, author, and publisher who has photographed in all the states of the United States, as well as the <a href="https://en.wikipedia.org/wiki/Washington,_D.C." title="Washington, D.C.">District of Columbia</a>, and <a href="https://en.wikipedia.org/wiki/Puerto_Rico" title="Puerto Rico">Puerto Rico</a>. She photographs the entire American vista (including landscapes, architecture, urban and rural life, and people in their work environments) in all fifty <a href="https://en.wikipedia.org/wiki/U.S._state" title="U.S. state">U.S. states</a> as a record of the early 21st century.
        </p>

        <p>Highsmith is donating her life’s work of more than 100,000 images, royalty-free, to the <a href="https://en.wikipedia.org/wiki/Library_of_Congress" title="Library of Congress">Library of Congress</a>, which established a rare, one-person archive.</p>

        <p>In 1976, Highsmith moved to Washington, D.C., and spent six years as a senior account executive for radio station <a href="https://en.wikipedia.org/wiki/WSBN" title="WSBN">WMAL</a> while taking classes at American University. She served on boards of directors including that of the <a href="https://en.wikipedia.org/wiki/Greater_Washington_Board_of_Trade" title="Greater Washington Board of Trade">Greater Washington Board of Trade</a>.</p>

        <p>By 1979, Highsmith won a national contest initiated by the Radio Advertising Bureau in New York for the nation’s most unusual sales effort. This stemmed from broadcasts from London and the <a href="https://en.wikipedia.org/wiki/Oktoberfest" title="Oktoberfest">Oktoberfest</a> in Germany that she had devised and organized. She traveled with the broadcast team on both trips. ABC ran a full-page ad in <i>The New York Times</i> promoting one of the broadcasts from London.</p>
      </div>
  </article>
</main>

<footer role="contentinfo" aria-labelledby="label-footer">
  <h2 id="label-footer" class="sr-only">Page footer</h2>
  <p>Text provided by <a href="https://en.wikipedia.org/wiki/Carol_M._Highsmith">the Carol M. Highsmith Wikipedia entry</a>. Type by <a href="https://fonts.google.com/">Google Fonts</a>. Images sourced from <a href="https://www.loc.gov/pictures/collection/highsm/">The Carol M. Highsmith Archive at The Library of Congress</a>.</p>
</footer>
              
            
!

CSS

              
                /* 
- - -
External style sheets in use:
- - -
- base.css
https://codepen.io/gymnasium/pen/eYpRxKE
- flex-type.css
https://codepen.io/gymnasium/pen/LYpzVqr
- focus.css
https://codepen.io/gymnasium/pen/GRpMJzL
- viewport.css
https://codepen.io/gymnasium/pen/LYpzVar
- - -
*/

.has-dropcap:first-letter {
  font-family: "Source Sans Pro", Arial, Helvetica, sans-serif;
  float: left;
  font-size: 6rem;
  line-height: 0.65;
  margin: 0.1em 0.1em 0.2em 0;
}

.dropcap {
  font-family: "Source Sans Pro", Arial, Helvetica, sans-serif;
  background: #303030;
  color: #FDF9F2;
  float: left;
  font-size: 6rem;
  line-height: 1;
  margin: 0.1em 0.1em 0.2em 0;
  padding: 0.1em;
}
.dropcap:before,
.dropcap:after {
  content: "";
  display: block;
}
.dropcap:before {
  margin-top: -0.2em;
}
.dropcap:after {
  margin-bottom: -0.15em;
}

/* https://www.scottohara.me/blog/2017/04/14/inclusively-hidden.html */
.sr-only:not(:focus):not(:active) {
  clip: rect(0 0 0 0); 
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap; 
  width: 1px;
}

              
            
!

JS

              
                
              
            
!
999px

Console