How to Make the Most of BEM for CSS Coding

In an online forum for discussing web design topics, a person shared a link to a website that offers tips for BEM naming. This website explains that even the most experienced CSS developers sometimes have trouble finding the right class name on the first pick. The tool offered on this site could help the programmer with the process. It will offer name suggestions for common website components. For the person who is new to BEM, the site also has some resource links.

On this site, a CSS coder can get help with naming standard blocks, including bread crumb, button, card I, card II, navigation, list and tabs. It also offers help with naming form blocks, including a check box, custom check box or input group. The coder can also choose to get assistance with the name of a layout block, including a imposter, side bar or stack setup.

Many CSS developers took a look at this link and shared their thoughts. One person said they are considering converting all of their CSS to BEM naming in order to have a set of standards for their organization. They wondered if it would be worth the effort. A person replied to them and said that doing so is somewhat time-consuming at the start, but the investment of time will pay off.

Another person commented about the site being useful, but it is not a magic bullet for naming conventions. Some of its suggestions were helpful to this individual's work, and some of them were not. this person added that setting up clear and understandable names, especially for nested components, has been the key to their success in keeping things straight in CSS.

A different person also shared their thoughts, explaining that they have moved away from BEM for their CSS, except for when they create customized CSS for a specific client project. For the other 90 percent of the time, they now use a service called Tail Wind. They feel like Tail Wind provides them with an easier user experience and found that it makes their code clearer and easier to decipher. For more information click here https://9elements.com/bem-cheat-sheet/.