Skip to content

Instantly share code, notes, and snippets.

@techwizzdom
Last active September 1, 2021 08:22
Show Gist options
  • Save techwizzdom/27571037b1efa10fd9bcda4d5ce656fa to your computer and use it in GitHub Desktop.
Save techwizzdom/27571037b1efa10fd9bcda4d5ce656fa to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<div class="container">
<div class="item">Item 1</div>
<div class="item">Item 2</div>
<div class="item">Item 3</div>
</div>
</body>
<style>
.container {
display: grid;
grid-template-columns: 1fr;
align-content: flex-start;
gap: 16px;
padding: 16px;
}
.item {
padding: 88px 16px;
}
</style>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment