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
擬似要素を介してシャドウツリー内の特定の要素の選択およびスタイルの設定を行うことができます。
使用例については Shadow part example をご覧ください。
仕様書
Specification |
---|
CSS Shadow Parts # part-attr |
ブラウザーの互換性
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
part |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
関連情報
- すべてのグローバル属性