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 id="grid">
  <div class="grid-item01">アイテム01</div>
  <div class="grid-item02">アイテム02</div>
  <div class="grid-item03">アイテム03</div>
  <div class="grid-item04">アイテム04</div>
  <div class="grid-item05">アイテム05</div>
  <div class="grid-item06">アイテム06</div>
 <div class="grid-item07">アイテム07</div>
 <div class="grid-item08">アイテム08</div>
 <div class="grid-item09">アイテム09</div>
</div>
            
          
!
            
              #grid {
  display: grid;
  grid-template-columns: 100px 100px 100px;
  grid-template-rows: 100px 100px 100px;
}
.grid-item01 { 
  grid-column: 1;
  grid-row: 1;
  background-color: #c7e2e2;
}
.grid-item02 { 
  grid-column: 2;
  grid-row: 1;
  background-color: #8dc7c7;
}
.grid-item03 { 
  grid-column: 3;
  grid-row: 1;
  background-color: #55aaaa;
}
.grid-item04 { 
  grid-column: 1;
  grid-row: 2;
  background-color: #8daac7;
}
.grid-item05 {
  grid-column: 2;
  grid-row: 2;
  background-color: #7295b8;
}
.grid-item06 {
  grid-column: 3;
  grid-row: 2;
  background-color: #5580aa;
}
.grid-item07 {
  grid-column: 1;
  grid-row: 3;
  background-color: #bfea95;
}
.grid-item08 {
  grid-column: 2;
  grid-row: 3;
  background-color: #95dc4e;
}
.grid-item09 {
  grid-column: 3;
  grid-row: 3;
  background-color: #80d52b;
}
            
          
!
999px
Loading ..................

Console