Basic use
example.css
my-card::part(title) { font-weight: 700; }
Shadow parts expose named nodes inside a shadow tree so page authors can style them through ::part().
my-card::part(title) { font-weight: 700; }my-card::part(title) { font-weight: 700; }my-card::part(title) { font-weight: 700; }Keep learning CSS.
CODETOFUN NEWS
Get the latest IT news, programming updates, and technology trends directly on your phone.
Your daily dose of tech, straight to your feed.
2 people found this page helpful