Social Proof section using BEM, and CSS Flexbox
Design comparison
Solution retrospective
This is my first time using BEM naming convention, I had trouble with naming nested elements. Any feedback is appreciated!
Community feedback
- @pikapikamartPosted over 3 years ago
Great work there. Ughm for the BEM convention, like what you are troubled to you say. We often want elements or the child of the Block parent, to have a naming style like
testimonial__card
which will be dependent on the block element. Then we use a convention liketestimonial--borderize
something like that, and the purpose of that is to have a state where you want to customized a certain block or child element of it, without having to change the actual styling of those so that we could re-use them and change the states. Anyway, your work is really good^1
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord