Skip to content

Commit

Permalink
animation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Stan1slav123 committed Oct 5, 2023
1 parent f7da3e3 commit 4bc8661
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
2 changes: 0 additions & 2 deletions src/styles/_footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
@include pageGrid;
row-gap: 64px;


@include onTablet {
padding: 88px 44px;
}
Expand Down Expand Up @@ -58,7 +57,6 @@
letter-spacing: -0.01em;
color: $white;


@include hoverUnderline {
background-color: $white;
}
Expand Down
7 changes: 7 additions & 0 deletions src/styles/_items.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,20 @@
}

&__heading {
max-width: fit-content;
font-size: 96px;
font-weight: 400;
line-height: 82px;
letter-spacing: -0.05em;
text-align: left;
color: $accentorange;
text-transform: uppercase;
transition: transform 0.3s ease;

&:hover {
cursor: pointer;
transform: scale(1.1);
}
}

&__info {
Expand Down
4 changes: 4 additions & 0 deletions src/styles/_product.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@

border-radius: 8px;
margin-bottom: 16px;
transition: transform 0.3s;
&:hover {
transform: scale(1.02);
}

@include onTablet {
width: 328px;
Expand Down
1 change: 0 additions & 1 deletion src/styles/utils/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,3 @@
transform-origin: left;
}
}

0 comments on commit 4bc8661

Please sign in to comment.