Last active
October 7, 2020 09:43
-
-
Save maugelves/f4b71a292deca091fdae211d3c3906b6 to your computer and use it in GitHub Desktop.
Responsive Gird for elements in a grid.
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
.containter { // Change this selector with your specific container. | |
display: grid; | |
grid-template-columns: repeat( auto-fit, minmax( 150px, 1fr ) ); // Change the width to suite your design. | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment