@import url("https://fonts.googleapis.com/css2?family=Exo:wght@600&display=swap");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
width: 100vw;
min-height: 100vh;
font-family: "Exo", Arial, sans-serif;
background-color: #222;
color: #fff;
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 36px 10px;
padding: 10px 10px 36px;
font-size: 1.5rem;
place-content: center;
}
body {
background-color: #eee;
background-image: linear-gradient(
45deg,
black 25%,
transparent 25%,
transparent 75%,
black 75%,
black
),
linear-gradient(
45deg,
black 25%,
transparent 25%,
transparent 75%,
black 75%,
black
);
background-size: 60px 60px;
background-position: 0 0, 30px 30px;
}
View Compiled
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.