K
K
Kirill2020-10-28 15:07:59
Sass
Kirill, 2020-10-28 15:07:59

How to properly style the second header for other pages?

I am doing a BAM project and dividing the blocks into different files (pug, scss). In the project, on the main page, the header has a dark background and white icons/texts, and on the other pages, on the contrary, there is a white background, black icons and text.

What is the correct way to implement this at the project structure level? A lot of questions are generated at the stage of thoughts, so just tell me how do you do it? where do you write or redefine the styles of the second header, how do you add it to the page? Any advice, thanks.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question