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="support-warning">
    This demo requires CSS Grid. The current browser you're using doesn't support it and is using a Flexbox fallback. Find a <a href="https://igalia.github.io/css-grid-layout/enable.html">grid-enabled browser</a>.
</div>
<div class="grid grid--4x4">
     
     <div class="grid__item theme-peach grid align-center">
          
          <div class="content">
               <h2 class="heading">
               The Horror In Clay

          </h2>
          <p class="description">Of such great powers or beings there may be conceivably a survival… a survival of a hugely remote period when… consciousness was manifested, perhaps, in shapes and forms long since withdrawn before the tide of advancing humanity… forms of which poetry and legend alone have caught a flying memory and called them gods, monsters, mythical beings of all sorts and kinds…</p>
          </div>
     </div>
     
     <div class="grid__item theme-black grid align-center">
           <div class="content">
          <h2 class="heading">
               The most merciful thing in the world
          </h2>
          <p class="description">I think, is the inability of the human mind to correlate all its contents. We live on a placid island of ignorance in the midst of black seas of infinity, and it was not “meant that we should voyage far. The sciences, each straining in its own direction, have hitherto harmed us little; but some day the piecing together of dissociated knowledge will open up such terrifying vistas of reality, and of our frightful position therein, that we shall either go mad from the revelation or flee from the light into the peace and safety of a new dark age. </p>
          </div>
     </div>
     
     <div class="grid__item theme-white grid align-center">
           <div class="content">
          <h2 class="heading">
               The awesome grandeur of the cosmic cycle

          </h2>
          <p class="description">Wherein our world and human race form transient incidents. They have hinted at strange survivals in terms which would freeze the blood if not masked by a bland optimism. But it is not from them that there came the single glimpse of forbidden eons which chills me when I think of it and maddens me when I dream of it.  </p>
          </div>
     </div>
     
     <div class="grid__item theme-grey grid align-center">
           <div class="content">
          <h2 class="heading">
               That glimpse, like all dread glimpses of truth

          </h2>
          <p class="description">
               Flashed out from an accidental piecing together of separated things - in this case an old newspaper item and the notes of a dead professor. I hope that no one else will accomplish this piecing out; certainly, if I live, I shall never knowingly supply a link      
          </p>
          </div>
     </div>
</div>
            
          
!
            
              * {
     box-sizing-border: box;
}
.support-warning {
     background: #ccb11c;
     color: #000;
     display: block;
     font-family: 'Raleway', sans-serif;
     font-weight: 700;
     opacity: 0.95;
     padding: 3rem;
     position: fixed;
     text-align: center;
     top: 0;
     left: 0;
     width: 100%;
     z-index: 5;
}

.support-warning a {
     color: inherit;
}

/* flexbox fallback */
.grid {
     display: flex;
     flex-wrap: wrap;
}

.grid--4x4 > .grid__item {
     flex: 1 0 auto;   
}


@supports(display: grid) {
     .support-warning {
          display: none;
     }
     
     .grid {
         display: grid;
     }
     
}

.grid--4x4 {
     grid-template-columns: 1fr 1fr;
     grid-template-rows: repeat(auto-fit, minmax(50vh, auto) minmax(50vh, auto));
}

.align-center {
     align-items: center;
     justify-content: center;
}

.content {
     padding: 3.5rem;
     max-width: 400px;
}

.heading {
     font-family: 'Libre Baskerville', serif;
     font-size: 2rem;
     font-weight: 700;
     line-height: 1.2;
     margin-bottom: 1rem;
}

.description {
     font-family: 'Raleway', sans-serif;
     font-size: 1rem;
     line-height: 1.5;
}

.theme-peach {
   background: #fe5c5d;
   color: #1c1e22;
}

.theme-black {
    background: #1c1e22; 
    color: #fff;
}

.theme-white {
   background: #fff;
   color: #1c1e22;
}

.theme-grey {
  background: #333;
  color: #fff;
}
            
          
!
999px
Loading ..................

Console