Skip to content

Commit

Permalink
new result
Browse files Browse the repository at this point in the history
  • Loading branch information
kondratiukD committed Jan 11, 2025
1 parent 0cbdebd commit b2e1549
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 30 deletions.
35 changes: 7 additions & 28 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,7 @@ <h3 class="card__device-name">
</button>
</div>

<div
class="catalog__card card"
data-qa="card"
>
<div class="catalog__card card">
<img
class="card__image image"
src="images/imac.jpeg"
Expand All @@ -151,10 +148,7 @@ <h3 class="card__device-name">
<button class="card__button">BUY</button>
</div>

<div
class="catalog__card card"
data-qa="card"
>
<div class="catalog__card card">
<img
class="card__image image"
src="images/imac.jpeg"
Expand All @@ -181,10 +175,7 @@ <h3 class="card__device-name">
<button class="card__button">BUY</button>
</div>

<div
class="catalog__card card"
data-qa="card"
>
<div class="catalog__card card">
<img
class="card__image image"
src="images/imac.jpeg"
Expand All @@ -211,10 +202,7 @@ <h3 class="card__device-name">
<button class="card__button">BUY</button>
</div>

<div
class="catalog__card card"
data-qa="card"
>
<div class="catalog__card card">
<img
class="card__image image"
src="images/imac.jpeg"
Expand All @@ -241,10 +229,7 @@ <h3 class="card__device-name">
<button class="card__button">BUY</button>
</div>

<div
class="catalog__card card"
data-qa="card"
>
<div class="catalog__card card">
<img
class="card__image image"
src="images/imac.jpeg"
Expand All @@ -271,10 +256,7 @@ <h3 class="card__device-name">
<button class="card__button">BUY</button>
</div>

<div
class="catalog__card card"
data-qa="card"
>
<div class="catalog__card card">
<img
class="card__image image"
src="images/imac.jpeg"
Expand All @@ -301,10 +283,7 @@ <h3 class="card__device-name">
<button class="card__button">BUY</button>
</div>

<div
class="catalog__card card"
data-qa="card"
>
<div class="catalog__card card">
<img
class="card__image image"
src="images/imac.jpeg"
Expand Down
1 change: 0 additions & 1 deletion src/styles/blocks/base.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body,
Expand Down
6 changes: 5 additions & 1 deletion src/styles/blocks/catalog.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
.catalog {
display: grid;
box-sizing: border-box;
box-sizing: inherit;
gap: 48px 46px;
height: 862px;
gap: 49px 47px;
padding: 50px 40px;
justify-content: center;
grid-template-columns: repeat(1, 200px);
Expand All @@ -20,7 +22,9 @@

.card {
width: 200px;
height: 408px;
padding: 32px 16px 16px;
border-radius: 5px;
border: 1px solid #f3f3f3;
box-sizing: border-box;
transition: transform $transition-duration;
Expand Down
1 change: 1 addition & 0 deletions src/styles/blocks/header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@

&__link {
display: flex;
font-size: 12px;
color: black;
text-decoration: none;
text-transform: uppercase;
Expand Down

0 comments on commit b2e1549

Please sign in to comment.