© 2023 Hashnode
#bem
What is BEM? In short, BEM is a popular methodology for naming your CSS classes. BEM stands for Block, Element, Modifier. It's an approach to writing CSS styles which allows developers to create reusa…
In coding, algorithms are hard, but naming variables is harder. For example, to style your HTML elements, you give them classes or an id attribute. But what name should you give these attributes to ma…
BEM elements rules say. https://en.bem.info/methodology/quick-start/ Create an element If a section of code can't be used separately without the parent entity (the block). The exception is elements that must be divided into smaller parts – …
Naming classes has never been a simple aspect of CSS, especially when working on a project that has a lot of HTML selectors, rule sets, and many pages. Because of the potential for issues with specifi…
Week [2]. Last week was quite busy and full of new things. I've got familiar and tried in practice such things like: CSS pseudoclasses, hover and others CSS pseudoelements, before, after and others CSS position CSS preprocessor SASS/SCSS T…