P
P
pacman1232018-10-29 21:15:50
HTML
pacman123, 2018-10-29 21:15:50

How to mark up this simple construction according to BEM?

I'm trying to understand BEM, I'm not sure that I understand the concept correctly.
If you are familiar with BEM, could you mark up this simple construction as an example?
https://codepen.io/anon/pen/ReOqgM

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Ankhena, 2018-10-29
@pacman123

div__title for title
div__button (if needed) btn double class for button (I don't know why p inside button)
div__text for paragraphs

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question