
디자인 라이브러리인, antd의 버튼 컴포넌트를 보다 찾아봤습니다.
h1 > b, h2 > b, h3 > b, h4 > b, h5 > b, h6 > b {
color: hotpink;
}
:is(h1,h2,h3,h4,h5,h6) > b {
color: hotpink;
}
/* 선택자 처음 */
:where(h1,h2,h3,h4,h5,h6) > b {
color: hotpink;
}
/* 선택자 중간 */
article :is(header,footer) > p {
color: gray;
}
/* 선택자 끝 */
.dark-theme :where(button,a) {
color: rebeccapurple;
}
/* 여러 가지 사용 */
:is(.dark-theme, .dim-theme) :where(button,a) {
color: rebeccapurple;
}
/* 결합 */
:is(h1,h2):where(.hero,.subtitle) {
text-transform: uppercase;
}
/* 중첩 */
.hero:is(h1,h2,:is(.header,.boldest)) {
font-weight: 900;
}

article > :is(header, #nav) {
background: white;
}
/* 아래가 더 낫다 */
article > header,
article > #nav {
background: white;
}