Created
June 21, 2021 04:12
-
-
Save thecodemedia/f2dc1bc4ef8d8c08184017aed60772fa 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
// общие настройки страницы | |
body { | |
font-family: system-ui, sans-serif; | |
// подключаем сетку | |
display: grid; | |
// высота — на весь экран | |
height: 100vh; | |
// задаём расстояние между блоками | |
grid-gap: 1rem; | |
// формируем колонки, минимальная ширина каждой — 200 пикселей | |
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment