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.

            
              <section>
	<div class="g1">
		<div class="g1-c1"></div>
		<div class="g1-c2"></div>
		</div>
</section>


<section>
	<div class="g2">
		<div class="g2-c1"></div>
		<div class="g2-c2"></div>
		<div class="g2-c3"></div>
		<div class="g2-c4"></div>
		<div class="g2-c5"></div>
		<div class="g2-c6"></div>
		</div>
</section>



<section>
	<div class="g3">
		<div class="g3-c1"></div>
		<div class="g3-c2"></div>
		<div class="g3-c3"></div>
		<div class="g3-c4"></div>
		<div class="g3-c5"></div>
		<div class="g3-c6"></div>
		<div class="g3-c7"></div>
		<div class="g3-c8"></div>
		<div class="g3-c9"></div>
		</div>
</section>



<section>
	<div class="g4">
		<div class="g4-c1"></div>
		<div class="g4-c2"></div>
		<div class="g4-c3"></div>
		<div class="g4-c4"></div>
		<div class="g4-c5"></div>
		<div class="g4-c6"></div>
		</div>
</section>


<section>
	<div class="g5">
		<div class="g5-c1"></div>
		<div class="g5-c2"></div>
		<div class="g5-c3"></div>
		</div>
</section>


<section>
	<div class="g6">
		<div class="g6-c1"></div>
		<div class="g6-c2"></div>
		<div class="g6-c3"></div>
		<div class="g6-c4"></div>
		<div class="g6-c5"></div>
		</div>
</section>


<section>
	<div class="g7">
		<div class="g7-c1"></div>
		<div class="g7-c2"></div>
		<div class="g7-c3"></div>
		<div class="g7-c4"></div>
		<div class="g7-c5"></div>
		<div class="g7-c6"></div>
		<div class="g7-c7"></div>
		<div class="g7-c8"></div>
		</div>
</section>


<section>
	<div class="g8">
		<div class="g8-c1"></div>
		<div class="g8-c2"></div>
		<div class="g8-c3"></div>
		<div class="g8-c4"></div>
		<div class="g8-c5"></div>
		<div class="g8-c6"></div>
		<div class="g8-c7"></div>
		<div class="g8-c8"></div>
		<div class="g8-c9"></div>
		</div>
</section>
            
          
!
            
              body {
	margin: 0;
	background-color: #f9f6f1;
}

section {
	border-bottom: 1px solid #221e1e;
	height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
	background-color: #f9f6f1;
}


/*1*/
.g1 {
	display: grid;
	grid-gap: 15px;
	grid-template-columns: 90px 600px;
  grid-template-rows: 800px;
}

.g1-c1 {
	border: 1px solid #221e1e;
}

.g1-c2 {
	border: 1px solid #221e1e;
}



/*2*/
.g2 {
	display: grid;
	grid-gap: 15px;
  grid-template-columns: 345px 345px;
  grid-template-rows: 30px 140px 630px;
}

.g2-c1 {
	border: 1px solid #221e1e;
}

.g2-c2 {
	border: 1px solid #221e1e;
}

.g2-c5 {
	border: 1px solid #221e1e;
}

.g2-c6 {
	border: 1px solid #221e1e;
}

/*3*/
.g3 {
	display: grid;
	grid-gap: 15px;
  grid-template-columns: 300px 300px 90px;
  grid-template-rows: 30px 140px 630px;
}

.g3-c1 {
	border: 1px solid #221e1e;
}

.g3-c7 {
	border: 1px solid #221e1e;
}

.g3-c8 {
	border: 1px solid #221e1e;
}

.g3-c9{
	border: 1px solid #221e1e;
}



/*4*/
.g4 {
	display: grid;
	grid-gap: 15px;
    grid-template-columns: 172.4px 172.4px 172.4px 172.4px;
    grid-template-rows: 560px 240px;
}

.g4-c1 {
	border: 1px solid #221e1e;
    grid-column: 1/3;
    grid-row: 1/1;
}

.g4-c2 {
	border: 1px solid #221e1e;
grid-column: 3/5;
    grid-row: 1;
}

.g4-c3 {
	border: 1px solid #221e1e;
grid-column: 1;
    grid-row: 2;
}

.g4-c4 {
	border: 1px solid #221e1e;
grid-column: 2;
    grid-row: 2;
}

.g4-c5 {
	border: 1px solid #221e1e;
grid-column: 3;
    grid-row: 2;
}

.g4-c6 {
	border: 1px solid #221e1e;
grid-column: 4;
    grid-row: 2;
}



/*5*/
.g5 {
	display: grid;
	grid-gap: 15px;
    grid-template-columns: 230px 230px 230px;
    grid-template-rows: 800px;
}

.g5-c1{
	border: 1px solid #221e1e;
}

.g5-c2{
	border: 1px solid #221e1e;
}

.g5-c3{
	border: 1px solid #221e1e;
}



/*6*/
.g6 {
	display: grid;
	grid-gap: 15px;
    grid-template-columns: 230px 230px 230px;
    grid-template-rows: 600px 200px;
}

.g6-c1{
	border: 1px solid #221e1e;
}

.g6-c2{
	border: 1px solid #221e1e;
}

.g6-c3{
	border: 1px solid #221e1e;
}

.g6-c4{
	border: 1px solid #221e1e;
	grid-column: 1/3;
    grid-row: 2;
}

.g6-c5{
	border: 1px solid #221e1e;
	grid-column: 3;
    grid-row: 2;
}


/*7*/
.g7 {
	display: grid;
	grid-gap: 15px;
  grid-template-columns: 172.5px 172.5px 172.5px 172.5px;
  grid-template-rows: 150px 650px;
}

.g7-c1{
	border: 1px solid #221e1e;
	grid-column: 1;
	grid-row: 1;
}
.g7-c2{
	border: 1px solid #221e1e;
		grid-column: 2;
	grid-row: 1;
}
.g7-c3{
	border: 1px solid #221e1e;
		grid-column: 3;
	grid-row: 1;
}

.g7-c4{
	border: 1px solid #221e1e;
	grid-column: 4;
	grid-row: 1;
}

.g7-c5{
	border: 1px solid #221e1e;
	grid-column: 1;
	grid-row: 2;
}

.g7-c6{
	border: 1px solid #221e1e;
		grid-column: 2;
	grid-row: 2;
}

.g7-c7{
	border: 1px solid #221e1e;
		grid-column: 3;
	grid-row: 2;
}

.g7-c8{
	border: 1px solid #221e1e;
		grid-column: 4;
	grid-row: 2;
}


/*8*/
.g8 {
	display: grid;
	grid-gap: 15px;
  grid-template-columns: 115px 115px 115px 115px 115px 115px;
  grid-template-rows: 650px 150px;
}

.g8-c1{
	border: 1px solid #221e1e;
	grid-column: 1/3;
	grid-row: 1;
}

.g8-c2{
	border: 1px solid #221e1e;
	grid-column: 3/5;
	grid-row: 1;
}

.g8-c3{
	border: 1px solid #221e1e;
	grid-column: 5/7;
	grid-row: 1;
}

.g8-c4{
	border: 1px solid #221e1e;
	grid-column: 1;
	grid-row: 2;
}

.g8-c5{
	border: 1px solid #221e1e;
	grid-column: 2;
	grid-row: 2;
}

.g8-c6{
	border: 1px solid #221e1e;
	grid-column: 3;
	grid-row: 2;
}

.g8-c7{
	border: 1px solid #221e1e;
	grid-column: 4;
	grid-row: 2;
}

.g8-c8{
	border: 1px solid #221e1e;
	grid-column: 5;
	grid-row: 2;
}

.g8-c9{
	border: 1px solid #221e1e;
	grid-column: 6;
	grid-row: 2;
}
            
          
!
999px
Loading ..................

Console