Writing clean and maintainable #css using BEM methodology
▻https://hackernoon.com/writing-clean-and-maintainable-css-using-bem-methodology-1dcbf810a664?so
How would you define a good code?We want our code to be clean, modular, reusable and ready for growth. It may sound simple — but it isn’t. When starting a new project we often leave CSS architecture as a second thought and go straight to the coding part. Doing so is easy and fun for us because we leave all the boring stuff behind. However, we form bad coding habits which lead to not so good code in the future.Icon made by monkik from www.flaticon.comBefore starting any project we should set some time aside to carefully think about architecture of our codebase. With good strategy and mindset we can assure that whoever reads our code will be satisfied with it. Definitely a good thing, right?So what is a CSS BEM?The BEM stands for Block, Element, Modifier which is basically an explanation for (...)
#design-thinking #bem-methodology #design-process #block-element-modifier