Answer the question
In order to leave comments, you need to log in
How to break the header into blocks?
I have this hat.
And the question is this.
The first block is header. This is clear.
What about the logo, phone number, social links and menu?
Are these header elements or separate blocks?
If blocks, then what is the correct name for them, provided that the logo and social links are duplicated in other places.
Answer the question
In order to leave comments, you need to log in
Personally, I would make 4 more blocks inside the .header block: logo, phone, social media and menu.
Something like this:
.header
.header__logo
.logo
.header__phone
.phone
.header__social
.social
.social__link .social__link--instagram
.social__link .social__link--vkontakte
.social__link .social__link--facebook
.header__menu
.menu
.menu__item .menu__item--active
.menu__item
.menu__item
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question