-
-
Save kobitoDevelopment/f4df4123a6bfaddef127af825db08585 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
.wrap{ | |
width:100%; | |
max-width:840px; | |
border:3px solid green; | |
} | |
.container{ | |
display:grid; | |
grid-template-columns:1fr 1fr; | |
gap:132px; | |
border:3px solid orange; | |
} | |
.box{ | |
display:flex; | |
gap:32px; | |
height:120px; | |
background-color:purple; | |
} | |
.item{ | |
flex-grow:1; | |
padding:4px; | |
background-color:blue; | |
color:white; | |
font-size:70px; | |
} |
This file contains hidden or 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="wrap"> | |
<div class="container"> | |
<div class="box"> | |
<div class="item">item</div> | |
<div class="item">item</div> | |
</div> | |
<div class="box"> | |
<div class="item">item</div> | |
<div class="item">item</div> | |
</div> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment