G
G
Genri_Rus2019-11-20 19:24:19
HTML
Genri_Rus, 2019-11-20 19:24:19

What would you name this block?

Here is an example:5dd5679048910666874166.png

<div class="catalog-right__block">
                   // тут нужна обертка, кукую вы бы посоветовали сделать ?
                    <h1 class="catalog-title"></h1>
                    //
                <div class="catalog-products">
                    <div class="catalog-products__card">
                    </div>
                </div>
            </div>

I need to wrap in a div the title and view are the 2 icons on the right which
would you suggest a class for these elements ?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
VicTHOR, 2019-11-20
@Genri_Rus

<div class="catalog-right__block">
this confuses me, it looks like pulling BEM where it is not necessary.
And with the block, inside which the title and icons, everything is elementary

<div class="catalog-title">
    <h1 class="catalog-title__header"></h1>
    <svg class="catalog-title__menu"></svg>
    <svg class="catalog-title__icon"></svg> <!-- хз на что вторая иконка похожа -->
</div>
<!-- названия блока и элементов примерные -->

V
Vladislav, 2019-11-20
@Vladyslawx

As an option catalog-header

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question