Skip to content

Commit

Permalink
add task solution
Browse files Browse the repository at this point in the history
  • Loading branch information
AlinaLuchitska committed Jun 21, 2024
1 parent e0ee927 commit 3945889
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions src/styles/blocks/products.scss
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,18 @@
}

&__cards {
@include page-grid;

grid-column: 1 / -1;
margin-bottom: 56px;
row-gap: 56px;
padding-inline: 16px;

@include on-tablet {
@include page-grid;

grid-column: span 4;
row-gap: 80px;
}

@include on-desktop {
@include page-grid;

--columns: 8;

padding-inline: 44px;
Expand All @@ -58,16 +58,16 @@
}

@include on-big-desktop {
@include page-grid;

justify-content: center;
padding-inline: 124px;
}
}

&__card {
justify-self: center;
grid-column: 1 / -1;
width: 288px;
height: 492px;
margin-bottom: 56px;

@include hover(transform, scale(1.03));

Expand Down Expand Up @@ -105,7 +105,6 @@

&__image {
width: 100%;
height: 356px;
border-radius: 8px;

@include hover(transform, scale(1.03));
Expand Down

0 comments on commit 3945889

Please sign in to comment.