Answer the question
In order to leave comments, you need to log in
When to use a mix and when to use a modifier?
Hello.
I have been using bam for a long time, but sometimes I still find myself just at a loss in some situations.
There are 2 cases:
1. First case We have a .contacts block, which is used in the header, footer and on the contact page
.contacts
.contacts__item
.contacts__link
.contacts.header__contacts
.contacts__item
.contacts__link
.contacts.header__contacts.header-contacts
.contacts__item.header-contacts__item
.contacts__link.header-contacts__link
.contacts.contacts--theme--header.header__contacts
.contacts__item
.contacts__link
.contacts--theme--header .contacts__link {
}
.card
.card__img
.card__inner
.card__title
.card__content
.card__btn
.card.card--type--1
.card__img
.card__inner
.card__title
.card__content
.card__btn
.card--type--1 .card__img{
}
.card.card--type--1
.card__img.card__img--hover--green
.card__inner.card__inner--color--red
.card__title
.card__content
.card__btn
.card--type--1 .card__img{
}
Answer the question
In order to leave comments, you need to log in
Styles don't interfere with links. Generally.
Check the URL of the link, does it exist?
Studio code. And better on codepen or jsfiddle
"a href="./?action=about" data-nav-section="about" target="_blank">About Us"a>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question