Most voted "bem" questions
5 questions
Sort by count of
-
11
votes3
answers576
viewsWhat is CSS OK?
I saw that some people are adopting the pattern of putting some classes in CSS separated by a double underline. Example: .form__field{ /** Css aqui **/ } I never had anything about it, and I came…
-
3
votes2
answers134
viewsBEM methodology and sub-blocks
I’m having doubts about best practices using methodology WELL, see below an example (example with Jade): nav(class='c-ngroup') div(class='wrap') div(class='row') div(class='col-md--2')…
-
0
votes1
answer97
viewsMethodology BEM + Lost Grid
I would like to know what would be the best practice to use different grid sizes with the same block. Ex: I have a component Card, and on my Dashboard page I wish I had 4 Cards per line I also use…
-
0
votes1
answer76
viewsReusable elements in the CSS BEM Methodology
I am studying about the BEM methodology (right at the beginning, I assume), and I was in doubt about one aspect of it. I see that it aims to standardize the CSS declaration means of your page…
-
0
votes1
answer117
viewsBEM pattern in CSS
I am using the standard WELL and came to me a doubt, when I have an element with children and grandchildren, how should I name my classes? I will use code to give this example: <header…