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.

            
              <h1>You know what to do: resize your viewport!</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. In non metus feugiat, fringilla arcu non, hendrerit magna. Duis eu ex sem. Aliquam erat volutpat. Maecenas pellentesque dui eu odio vehicula condimentum. In odio nisi, placerat sed lectus eget, interdum elementum felis. Aenean id pretium orci. Suspendisse gravida nulla eros, eu sodales diam laoreet ornare. Proin purus quam, hendrerit eu ipsum eget, gravida tincidunt justo. Praesent facilisis vel felis vel imperdiet. Phasellus dapibus magna a enim fermentum, et luctus libero mollis. Suspendisse ac varius ante, nec egestas orci. Sed sapien urna, feugiat eget congue in, varius elementum tortor.</p>
<div class="fukol">  
  <div class="fukol-grid">
    <div>1</div>
    <div>2</div>
    <div>3</div>
    <div>4</div>
    <div>5</div>
    <div>6</div>
    <div>7</div>
    <div>8</div>
    <div>9</div>
    <div>10</div>
    <div>11</div>
    <div>12</div>
  </div>
</div>
<p>Sed sem tortor, porttitor ac ultrices nec, sagittis at libero. Nulla consequat gravida erat condimentum porttitor. Nunc euismod placerat nisl, sit amet tincidunt quam rutrum non. Quisque tellus nisl, pellentesque lobortis tempus non, dictum eget magna. Duis cursus ipsum at orci condimentum faucibus. Donec placerat semper nibh eget fringilla. Mauris nisl odio, scelerisque vel metus non, ullamcorper vestibulum ipsum. Ut purus lectus, eleifend quis viverra vitae, lobortis euismod sem. Aliquam erat volutpat.</p>
            
          
!
            
              /* The Fukol CSS 'grid system' */

.fukol-grid {
  display: flex;
  flex-wrap: wrap;
  margin: -0.5em;
}

.fukol-grid > * {
  flex: 1 0 10em;
  margin: 0.5em;
}

.fukol-grid > *:first-child {
  flex-basis: calc(100% - 1em);
}

/* Styles just for this demo */

* {
  box-sizing: border-box; /* should be covered by reset */
}

body {
  padding: 1em;
  margin: 0 auto;
  max-width: 50em;
  line-height: 1.5;
}

body * + * {
  margin-top: 1.5em;
}

.fukol-grid > * {
  background: #222;
  padding: 1em;
  color: #fff;
  text-align: center;
}
            
          
!
999px
Loading ..................

Console