Skip to content

Commit

Permalink
add task solution
Browse files Browse the repository at this point in the history
  • Loading branch information
yurzxw committed Nov 3, 2024
1 parent bd5e138 commit 57e8c4c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/styles/button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@
width: 166px;
height: 40px;
background-color: #00acdc;
color: #fff;
color: $background-color;
text-decoration: none;
border-radius: 5px;
margin: 0 16px 16px;
padding: 12px 70px;
transition: $transition-time;

&:hover {
background-color: #fff;
background-color: $background-color;
color: var(--hover-color);
border: 1px solid var(--hover-color);
}
Expand Down
2 changes: 1 addition & 1 deletion src/styles/product_card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ body {
border-radius: 5px;
box-sizing: border-box;
width: 200px;
height: 408px;
height: 410px;
grid-column: span 1;
transition: $transition-time;

Expand Down
1 change: 1 addition & 0 deletions src/styles/utils/variables.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
$transition-time: 0.3s;
$bodyfont: Roboto, sans-serif;
$border-radius: 5px;
$background-color: #fff;

0 comments on commit 57e8c4c

Please sign in to comment.