BEM is a methodology that helps you to create reusable components and code sharing in front-end development
HTML 클래스 속성의 작명법
BEM (Block Element Modifier)
요소__일부분 : underscore(Lodash) 기호로 요소의 일부분을 표시
요소--상태 : Hypen(Dash) 기호로 요소의 상태를 표시
https://getbem.com/introduction/
'개발 공부 기록 > HTML&CSS' 카테고리의 다른 글
[CSS] 웹 개발자를 위한 Chrome Extension 추천 - 박스 형태로 표시 (feat. presticide for Chrome) (0) | 2023.01.25 |
---|---|
[CSS] 웹 개발할 때 유용한 색상 정보 사이트(feat. Color Palette) (0) | 2023.01.25 |
공부일지 #6. 영어로 HTML/CSS 기본 공부 (feat. Udemy) (0) | 2022.12.10 |
[HTML/CSS] Block Elements와 Inline Elements 이해 (1) | 2022.12.10 |
[Bootstrap] 예시(Examples)의 코드를 뽑아내는 방법 (0) | 2022.12.01 |