part

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2020.

part 전역 특성은 요소의 파트 이름을 공백으로 구분한 목록을 지정합니다. CSS에서는 ::part 의사 요소를 사용해, 섀도 트리 내의 특정 요소에 스타일을 적용할 수 있습니다.

섀도 파트 예제에서 사용 예를 살펴보세요.

명세

Specification
CSS Shadow Parts
# part-attr

브라우저 호환성

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
part

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support

같이 보기