Blame view
public/scss/blocks/_category.scss
625 Bytes
242debab8 Первый коммит в п... |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
.category { padding: 60px 0 0; @media (min-width: 1200px) { padding: 100px 0 0; } &__top { margin-bottom: 60px; } &__grid { display: grid; grid-gap: 20px; grid-template-columns: repeat(1, 1fr); margin-bottom: 20px; @media (min-width: 540px) { grid-template-columns: repeat(2, 1fr); } @media (min-width: 920px) { grid-template-columns: repeat(3, 1fr); } @media (min-width: 1200px) { grid-template-columns: repeat(4, 1fr); margin-bottom: 60px; } } } |