Created
July 8, 2019 03:06
-
-
Save SilencerWeb/8407c5dc602fdf5b30c31f6c2e87acf0 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
.products-list { | |
display: flex; | |
flex-wrap: wrap; | |
justify-content: space-between; | |
margin-bottom: -80px; | |
@include sm-down { | |
margin-bottom: -40px; | |
} | |
@include xs-down { | |
width: calc(100% - 40px); | |
margin-right: auto; | |
margin-left: auto; | |
} | |
&_grid_double { | |
.products-list__grid-sizer { | |
width: calc(50% - 40px); | |
@include md-down { | |
width: 100%; | |
} | |
@include sm-down { | |
width: calc(50% - 20px); | |
} | |
@include xs-down { | |
width: 100%; | |
} | |
} | |
.products-list__product-card { | |
width: calc(50% - 40px); | |
@include md-down { | |
width: 100%; | |
} | |
@include sm-down { | |
width: calc(50% - 20px); | |
} | |
@include xs-down { | |
width: 100%; | |
} | |
} | |
} | |
&__grid-sizer { | |
width: calc(20% - 64px); | |
@include xxl-down { | |
width: calc(25% - 60px); | |
} | |
@include lg-down { | |
width: calc(33.333% - 53px); | |
} | |
@include md-down { | |
width: calc(50% - 40px); | |
} | |
@include sm-down { | |
width: calc(50% - 20px); | |
} | |
@include xs-down { | |
width: 100%; | |
} | |
} | |
&__product-card { | |
width: calc(20% - 64px); | |
margin-bottom: 80px; | |
@include xxl-down { | |
width: calc(25% - 60px); | |
} | |
@include lg-down { | |
width: calc(33.333% - 53px); | |
} | |
@include md-down { | |
width: calc(50% - 40px); | |
} | |
@include sm-down { | |
width: calc(50% - 20px); | |
margin-bottom: 40px; | |
} | |
@include xs-down { | |
width: 100%; | |
margin-right: auto; | |
margin-left: auto; | |
} | |
.product-card__button { | |
color: currentColor; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment