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 CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

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.

  <section layout="column">
    <!-- A -->
    <div layout="rows-justify">
      <div self="size-1of3 md-half sm-full">A1</div>
      <div self="size-1of3 md-half sm-full">A2</div>
    <!-- B -->
    <div layout="lg-column" self="size-x1">
      <div self="size-x1">B1</div>
      <div self="size-x3 sm-first">
        B2 (first on small screen)
      <div self="size-x1">B3</div>
    <!-- C -->
    <div layout="rows-justify">
      <div self="sm-full">C1</div>
      <div self="right sm-full">C2</div>
      <div self="sm-full">C3</div>

<!-- Flex layout attribute: http://progressivered.com/fla/  -->
              body {
  height: 100%;
  background: #212121;

main {
  margin: 3rem;

section {
  min-height: 80vh;
  border: solid;

div {
  padding: 1rem 1.5rem;
  width: auto;
  background-color: rgba(0, 176, 255,0.5);
  color: rgba(255, 255, 255, 0.9);
  outline: 1px dotted #212121;
  font: bold 1em monospace;
div div {
 background-color: rgba(0, 176, 255,1); 
Loading ..................