css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

Pen Settings

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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation


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.

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.

               <div class = "poemBody">


             <span class='slabtext'>In</span>
         <span class='slabtext'>     Side </span>
         <span class='slabtext'>Each of us </span>
         <span class='slabtext'> is a portal to God and the sun </span>
         <!-- <span class='slabtext'>it opens when we're we peeled back </span>
         <span class='slabtext'>beneath such hurt and fear </span>
         <span class='slabtext'> its outside the bounds of what screams in the mirror</span> -->
         <span class='slabtext'>We’ve mistaken our weapons and masks </span>
           <span class='slabtext'>For our mouths and lungs </span>
           <span class='slabtext'>Confused what’s happened to us </span>
           <span class='slabtext'> For what we’ve become</span>

           <div class = "poemTitle">
             <div data-lining class = "vtxt">
          We humans<br /> often mistake</br> Our portals of possibility</br>
         For the certainty of a sunset


body {
/*background-color: #0F3B72;
color: #fffff8;*/
           padding:20px 0;
           margin:0 auto;
           transform: scale(.35);
  transform-origin: 0 0;


.poemBody {
  width: 66%;

  left: 75%;
  /*width: 66%;*/

.vtxt {
    font-size: 4em;
    color: #333;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
.vtxt .line:first-of-type {
    font-size: 5.5em;
    color: #D0496A;
.vtxt .line:first-of-type small {
    color: #333;
    font-size: .6666666em;

  font-size: 9px;
.slabtexted .slabtext
    display: -moz-inline-box;
    display: inline-block;
    white-space: nowrap;
.slabtextinactive .slabtext
    display: inline;
    white-space: normal;
    font-size: 1em !important;
    letter-spacing: inherit !important;
    word-spacing: inherit !important;
    *letter-spacing: normal !important;
    *word-spacing: normal !important;
.slabtextdone .slabtext
    display: block;

                 function slabTextHeadlines() {
             // Don't slabtext the headers if the viewport is under 380px
     // Load fonts using google font loader
     var WebFontConfig = {
         google: { families: [ 'Open+Sans:400,700:latin', 'Oswald:700:latin' ] },
         // slabText the headers when the font has finished loading (or not)
         fontactive: slabTextHeadlines,
         fontinactive: slabTextHeadlines
     (function() {
         var wf = document.createElement('script');
         wf.src = 'https://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js';
         wf.type = 'text/javascript';
         wf.async = 'true';
         var s = document.getElementsByTagName('script')[0];
         s.parentNode.insertBefore(wf, s);
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................