Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE html>
<style>
.grid {
display: grid;
padding: 10px;
grid-template-columns: 40px 40px;
grid-template-rows: 40px 40px;
border: solid;
width: 80px;
height: 80px;
gap: 16px;
}
.grid > div {
background: green;
}
</style>
<div class="grid">
<div></div>
<div></div>
<div></div>
<div></div>
</div>