Skip to content

Commit

Permalink
finish
Browse files Browse the repository at this point in the history
  • Loading branch information
West-u committed Dec 9, 2024
1 parent e46c983 commit 1274b41
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 28 deletions.
16 changes: 0 additions & 16 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@
</header>
<main class="main">
<section class="cards">
<!-- CARD 1 -->
<article
class="cards__laptop"
data-qa="card"
Expand Down Expand Up @@ -144,8 +143,6 @@ <h2 class="cards__price-sum">$2,199</h2>
buy
</button>
</article>
<!-- END -->
<!-- CARD 2 -->
<article class="cards__laptop">
<img
class="cards__laptop-image"
Expand Down Expand Up @@ -177,8 +174,6 @@ <h2 class="cards__price-sum">$2,199</h2>
buy
</button>
</article>
<!-- END -->
<!-- CARD 3 -->
<article class="cards__laptop">
<img
class="cards__laptop-image"
Expand Down Expand Up @@ -210,8 +205,6 @@ <h2 class="cards__price-sum">$2,199</h2>
buy
</button>
</article>
<!-- END -->
<!-- CARD 4 -->
<article class="cards__laptop">
<img
class="cards__laptop-image"
Expand Down Expand Up @@ -243,8 +236,6 @@ <h2 class="cards__price-sum">$2,199</h2>
buy
</button>
</article>
<!-- END -->
<!-- CARD 5 -->
<article class="cards__laptop">
<img
class="cards__laptop-image"
Expand Down Expand Up @@ -276,8 +267,6 @@ <h2 class="cards__price-sum">$2,199</h2>
buy
</button>
</article>
<!-- END -->
<!-- CARD 6 -->
<article class="cards__laptop">
<img
class="cards__laptop-image"
Expand Down Expand Up @@ -309,8 +298,6 @@ <h2 class="cards__price-sum">$2,199</h2>
buy
</button>
</article>
<!-- END -->
<!-- CARD 7 -->
<article class="cards__laptop">
<img
class="cards__laptop-image"
Expand Down Expand Up @@ -342,8 +329,6 @@ <h2 class="cards__price-sum">$2,199</h2>
buy
</button>
</article>
<!-- END -->
<!-- CARD 8 -->
<article class="cards__laptop">
<img
class="cards__laptop-image"
Expand Down Expand Up @@ -375,7 +360,6 @@ <h2 class="cards__price-sum">$2,199</h2>
buy
</button>
</article>
<!-- END -->
</section>
</main>
<footer></footer>
Expand Down
5 changes: 0 additions & 5 deletions src/styles/base/_variables.scss
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
$fonts: Roboto, sans-serif;

// header

$color__black: #060b35;
$color__blue: #00acdc;
$color__white: #fff;
$color__gray: #616070;
$header__box-shadow: rgba(0, 0, 0, 0.05);

// main
$border-color: #f3f3f3;
$global-radius: 5px;
15 changes: 8 additions & 7 deletions src/styles/components/_main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@
justify-content: center;
align-items: center;
padding: 50px 40px;

&:hover .cards__laptop-titel {
transform: scale(1.2);
color: #34568b;
}

&__laptop {
width: 200px;
background-color: var.$color__white;
Expand All @@ -21,13 +27,6 @@
cursor: pointer;
transition: 0.3s;

&:hover {
transform: scale(1.2);
.cards__laptop-titel {
color: #34568b;
}
}

&-image {
width: 160px;
height: 134px;
Expand Down Expand Up @@ -121,9 +120,11 @@
@media (min-width: 488px) {
grid-template-columns: repeat(2, 200px);
}

@media (min-width: 768px) {
grid-template-columns: repeat(3, 200px);
}

@media (min-width: 1024px) {
grid-template-columns: repeat(4, 200px);
}
Expand Down

0 comments on commit 1274b41

Please sign in to comment.