Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE html>
<html>
<link rel="stylesheet" href="/fonts/ahem.css">
<style>
.grid {
display: grid;
grid-template-rows: repeat(5, 30px);
grid-template-columns: 100px;
background: gray;
width: 200px;
height: 360px;
font: 15px/1 Ahem;
}
.grid > div {
height: 25%;
}
</style>
<body>
<div class="grid">
<div style="background: lightskyblue;">
Number 1
</div>
<div style="background: lightcoral;">
Number 2
</div>
<div style="background: lightgreen;">
Number 3
</div>
<div style="background: lightpink;">
Number 4
</div>
<div style="background: orange;">
Number 5
</div>
</div>
</body>
</html>