Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<style>
.wrapper {
width: 200px;
}
.grid {
display: grid;
grid-template-rows: repeat(5, 50px);
height: 200px;
margin-bottom: 20px;
justify-items: last baseline;
background: lightgray;
font-family: Ahem;
line-height: 1;
}
</style>
</head>
<body>
<div class="wrapper">
<div class="grid" style="grid-template-columns: minmax(0px, auto) 30px minmax(0px, auto);">
<div style="font-size: 20px; padding-right: 20px; height: 50px; background: lightblue; grid-column: 1;">É</div>
<div style="font-size: 10px; height: 50px; width: 20px;background: lightyellow; grid-column: 3;">É</div>
<div style="font-size: 20px; padding-left: 50px; height: 50px; width: 110px; background: lightgreen; grid-column: 1 / span 3;">É</div>
</div>
<div class="grid" style="grid-template-columns: minmax(0px, auto) 20px minmax(0px, auto);">
<div style="font-size: 10px; height: 50px; background: coral; grid-column: 1;">É</div>
<div style="font-size: 10px; height: 50px; background: plum; grid-column: 2;">É</div>
<div style="font-size: 10px; height: 50px; width: 30px; background: lightsalmon; grid-column: 3;">É</div>
<div style="font-size: 20px; padding-left: 30px; height: 50px; background: gold; grid-column: 1 / span 2;">É</div>
<div style="font-size: 20px; padding-left: 25px; height: 50px; background: palegreen; grid-column: 2 / span 2;">É</div>
</div>
</div>
</body>
</html>