-
-
Save monsier-oui/3c2cafb8e748e416721fdaa24c186ea2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="container"> | |
<h1 class="title">title</h1> | |
<div class="content">0</div> | |
<div class="content">1</div> | |
<div class="content">2</div> | |
<div class="content">3</div> | |
<div class="content">4</div> | |
<div class="content">5</div> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.container{ | |
display: grid; | |
min-height: 100vh; | |
width: 100%; | |
grid-template-columns: repeat(3, minmax(0, 1fr)); | |
gap: 1.25rem; | |
} | |
.title{ | |
grid-column: span 3 / span 3; | |
grid-row-start: 2; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment