cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

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.

Quick-add: + add another resource

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.

Quick-add: + add another resource

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.

            
              <div class="message error">
  Your browser does not support the css property <span>line-height-step</span>
</div>

<div class="container">
  <h3>Lorem ipsum dolor sit amet</h3>
  
  <img src="https://www.fillmurray.com/g/300/200">
  
  <p>Lorem ipsum dolor sit amet, duo ex utinam volutpat. Ius errem aliquip te, id tritani integre has. Mucius argumentum adversarium ius et, prima dissentiunt eum at, eros veri sale duo ne. Ei eam repudiare rationibus. Everti mediocrem eum ne, et nam omittam intellegebat, duo posse melius graecis an. Ius purto discere in, vim ea clita minimum accusata, suavitate prodesset nam in.</p>

  <p>Cu semper repudiare sed. Et habemus aliquando duo, per ex nobis libris ullamcorper, eos inani evertitur at. Nam suas laudem ei, invidunt conceptam an usu, idque laoreet dolorem vel an. Pri atqui ridens suscipit ea.</p>

  <p>Has aliquam quaestio erroribus at, et mel nullam voluptatum vituperata, eu cibo commune mnesarchum cum. Zril laboramus dissentias ius et. Atqui iuvaret voluptatum eam et. Ignota dolorum offendit ea sea, choro cetero audiam mel no. Sea consul legimus te, te essent quaerendum accommodare mei.</p>
  
  <img src="https://www.fillmurray.com/g/300/200">

  <p>Error patrioque dignissim quo ut, no natum dicta efficiantur quo. Eum stet virtute sententiae te, vide summo in vim, eam ei mollis audiam prodesset. Ei vel diam facete oblique, vim ne postea civibus. Ne duo tritani civibus appareat, mea ad inani virtute, dico conceptam pro ea. Ad vel aeque putent doctus, stet electram te est. Eum at delenit scaevola, an his dolores  interpretaris, fabulas saperet nec no.</p>
  
  <h5>Lorem ipsum dolor sit amet</h5>
  
  <p>An usu quis amet vituperata, eum an sumo oratio. Sea et alterum periculis vulputate, nam facete dignissim ad, qui an reprimique intellegam. Vix simul nostrud perfecto id, vel ipsum eripuit minimum ea, sed sonet propriae splendide ea. At viderer vulputate est. Vix ei agam soluta torquatos.</p>

  <p>Vim ad falli dolore vivendum, mea veri everti perfecto ne. Cetero verterem nec ex, est te vide posidonium, ea labore volumus iudicabit eum. Nec pericula expetendis voluptatum at. Cum solum abhorreant ad. Mel dicta splendide cu. Nostrum deserunt ne mel, cu veniam tritani bonorum eam.</p>
  
  <p>Et qui brute postea. Novum eruditi verterem vix an. No sit debet appetere oportere. Cu sea vidit liber cotidieque, no reque fastidii contentiones his, duo purto latine an. Te assum aliquam nominati qui, ad nam malorum adolescens conclusionemque, nam ex homero probatus. Usu te virtute nostrum, per soluta sensibus et. Labores reformidans ius te.</p>
</div>
            
          
!
            
              .container {
  line-height: 1.5;
  columns: 5 20ch;
  line-height-step: 20pt;
  
  h3, h5, p {
    margin: 0;
  }
  
  img {
    width: 100%;
  }
}

@supports (line-height-step: 20pt) {
  .error {
    display: none;
  }
}

.message {
  padding: 20px;
  
  &.error {
    border: 1px solid #e60000;
    background: #ffb3b3;
    color: #e60000;
  }
  
  &.warning {
    border: 1px solid #b36b00;
    background: #ffcc80;
    color: #b36b00;
  }
  
  a {
    text-decoration: none;
    color: white;
    font-weight: bold;
  }
  
  span {
    border: 1px solid white;
    border-radius: 5px;
    padding: 5px;
    background: #f2f2f2;
  }
}
            
          
!
999px
Loading ..................

Console