Pen Settings

HTML

CSS

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.

+ add another resource

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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.

+ add another resource

Behavior

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.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

HTML

            
              <h1>Simple-Fullpage-Grid Page</h1>
<p>Unordered list</p>

<div class="lck_fullpagegrid">
	<ul class="boxes">
		<li class="one box"><a href="#">Box 1</a></li>
		<li class="two box"><a href="#"><img src="https://picsum.photos/id/140/400/300?grayscale"></a></li>
		<li class="three box"><a href="#">Box 3</a></li>
		<li class="four box"><a href="#">Box 4</a></li>
	</ul>
	<ul class="boxes">
		<li class="five box"><a href="#">Box 5</a></li>
		<li class="six box"><a href="#">Box 6</a></li>
		<li class="seven box"><a href="#">Box 7</a></li>
		<li class="eight box"><a href="#">Box 8</a></li>
	</ul>
	<ul class="boxes">
		<li class="nine box"><a href="#">Box 9</a></li>
		<li class="ten box"><a href="#">Box 10</a></li>
		<li class="eleven box"><a href="#">Box 11</a></li>
		<li class="twelve box"><a href="#">Box 12</a></li>
	</ul>
	<ul class="boxes">
		<li class="thirteen box"><a href="#">Box 13</a></li>
		<li class="fourteen box"><a href="#">Box 14</a></li>
		<li class="fifteen box"><a href="#"><img src="https://picsum.photos/id/161/400/300?grayscale"></a></li>
		<li class="sixteen box"><a href="#">Box 16</a></li>
	</ul>
	<ul class="boxes">
		<li class="seventeen box"><a href="#"><img src="https://picsum.photos/id/168/400/300?grayscale"></a></li>
		<li class="eighteen box"><a href="#">Box 18</a></li>
		<li class="nineteen box"><a href="#">Box 19</a></li>
		<li class="twenty box"><a href="#">Box 20</a></li>
	</ul>

</div>
            
          
!

CSS

            
              body {
	background: url(https://picsum.photos/id/136/1600/1200) 50% 50% / cover
		no-repeat;
	font-family: Arial, sans-serif;
	font-size: 1rem;
	font-variant: small-caps;
	height: 100%;
	margin: 0;
	padding: 0;
	width: 100%;
}
h1,
p {
	color: #fff;
	text-align: center;
	display: none;
}

.lck_fullpagegrid {
	height: 100%;
	margin: 0;
	padding: 0;
	width: 100%;
}
.boxes {
	border-collapse: collapse;
	display: table;
	font-size: 0;
	margin: 0;
	padding: 0;
	height: 20vh;
	width: 100%;
}
.boxes,
.boxes * {
	box-sizing: border-box;
}
.lck_fullpagegrid ul li:nth-of-type(n) {
	width: 15%;
}
.lck_fullpagegrid ul li:nth-of-type(3) {
	width: auto;
}
.lck_fullpagegrid .boxes a {
	color: #fff;
	text-decoration: none;
}
.lck_fullpagegrid .boxes a:hover {
	border-bottom: 1px dotted #fff;
}
.lck_fullpagegrid .box {
	background-color: rgba(0, 0, 0, 0.5);
	border: 1px dotted #fff; /* only for Demo */
	border-bottom: 0px none transparent; /* only for Demo */
	color: #fff;
	display: table-cell;
	font-size: 2rem;
	height: 20%;
	min-width: 25%;
	margin: 0;
	padding: 0;
	text-align: center;
	vertical-align: middle;
	width: auto;
}
.lck_fullpagegrid .box img {
	max-height: 18vh;
	vertical-align: middle;
	width: auto;
}

/* 768px */
@media screen and (max-width: 48rem) {
	.lck_fullpagegrid .boxes {
		height: auto;
	}
	.lck_fullpagegrid .box {
		display: block;
		line-height: 3rem;
		width: 100% !important;
	}
	.lck_fullpagegrid .box img {
		max-height: 3rem;
	}
}

/* Example colspan */
.lck_fullpagegrid ul li.ten {
	display: none;
}
.lck_fullpagegrid ul li.nine {
	width: 30%; /* or another value */
}

            
          
!

JS

            
              /* no JS :) */
            
          
!
999px

Console