공통


<aside> 💡 .block__element--modifier 과 같은 형태로 쓸 수 있습니다.

</aside>

<!-- DO THIS / 역자 주 / btn 구성 요소에 --submit 변경자를 추가해서 확장했다 --><button class="btn btn--submit"></button>

<style>
.btn {
display: inline-block;
color: blue;
  }
.btn--submit {
color: green;
  }
</style>
<!-- DON'T DO THIS / 이렇게 하지 마세요 --><button class="btn--secondary"></button>

<style>
.btn--secondary {
display: inline-block;
color: green;
  }
</style>

아이디 Naming


시작의 이름은 영문 소문자를 사용하되 두 번째 단어부터 첫 번째 문자를 대분자로 처리하는 기법(카멜 케이스)를 사용한다.