Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Стилизация #3

Merged
merged 2 commits into from
Dec 23, 2024

Conversation

IrinaRogacheva
Copy link

@IrinaRogacheva IrinaRogacheva commented Dec 19, 2024

@keksobot keksobot changed the title Module3 task1 Стилизация Dec 19, 2024
keksobot pushed a commit that referenced this pull request Dec 20, 2024
@keksobot
Copy link
Contributor

♻️ Я собрал ваш пулреквест. Посмотреть можно здесь.

Comment on lines +23 to +71
.container {
padding: 0 20px;
}

.title {
font-size: 36px;
line-height: 40px;
font-weight: 400;
}

.button {
display: block;
padding: 10px 44px;
font-family: "Oswald", "Arial", sans-serif;
font-size: 16px;
line-height: 20px;
color: #ffffff;
text-align: center;
text-decoration: none;
text-transform: uppercase;
border: none;
background-color: #68b738;
cursor: pointer;
}

.link {
color: inherit;
text-decoration: none;
cursor: pointer;
}

.list {
margin: 0;
padding: 0;
list-style: none;
}

.visually-hidden {
position: absolute;
width: 1px;
height: 1px;
margin: -1px;
border: 0;
padding: 0;
white-space: nowrap;
clip-path: inset(100%);
clip: rect(0 0 0 0);
overflow: hidden;
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Это все БЭМ блоки, потому под каждый класс свой файл

color: #222222;
}

.product__card-title.product__card-title--more {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

можно просто .product__card-title--more т.к. можификатор находиться ниже элемента по css он его в люом случае перебьет

@keksobot keksobot merged commit 830068d into htmlacademy-adaptive:master Dec 23, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants