D
D
Dima2019-01-18 09:12:58
BEM
Dima, 2019-01-18 09:12:58

Is it normal to write such classes in BEM?

.testimonials__slider__item__text__testimonial

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Proskurin, 2019-01-18
Dolgoter @SpiderPigAndCat

Not allowed https: //ru.bem.info/methodology/quick-start /#%D0%9...

An element is always part of a block, not another element. This means that the block_elem1__elem2 hierarchy cannot be written in the name of the elements.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question