Questions tagged [bem]
BEM, short for Block-Element-Modifier, is a way to develop modular web pages which are easy to support.
8 questions
1
vote
1
answer
55
views
CSS organization with BEM
I've recently learned BEM & SASS, and I'd like to know if my BEM syntax is correct. I'm trying to create just the header of this page: https://blackrockdigital.github.io/startbootstrap-agency/
...
1
vote
1
answer
221
views
CSS and React.js for a basic navigation drawer
I am trying to optimize my navigation drawer code. I have tried and followed the BEM naming convention for my CSS although I would like it reviewed with respect to the best practices being followed.
...
0
votes
2
answers
126
views
Simple SASS & BEM module for social feed widgets
I've been messing around with SASS and BEM for the last few months. I recently starting 'thinking' in modular in terms of building out my applications (for re-usability and simplicity).
I am coding ...
1
vote
1
answer
1k
views
Flexbox & BEM 'table'
Using SCSS and React, I have made a little table (not an HTML table), which is responsive based on variable-width cells. That is to say, each cell whose width is not variable has a ...
2
votes
1
answer
104
views
Modular, conflict free, BEM-style CSS
I want to standardise the CSS I use, and am leaning towards bem — I know I'll get a lot of benefit from the predictability of its pattern.
I have hacked their formula ever so slightly - I don't ...
6
votes
1
answer
8k
views
Shopping Cart with React JS
I've just created my first set of related classes in React and would like to get feedback from more experienced React developers.
I've used ES and completely vanilla React. The application is a ...
7
votes
3
answers
183
views
Revealing store sales based on time
I am delving into trying to write some JavaScript code.
I understand the basics, (the very basics...) enough that I have been able to write the following and it works.
However, my knowledge doesn't ...
7
votes
3
answers
618
views
BEM email structure
I have started using BEM syntax for my HTML and CSS. I got the idea from Harry Roberts' blog post "MindBEMding – getting your head 'round BEM syntax".
Please note I am not looking to use this for ...