小编rob*_*aar的帖子

how to use the CSS ::theme selector

ive started making a HTML/CSS/Vanilla JS web component library, and so far everything is going great. im using the typical ::part and all that, but i stumbled accros ::theme selector aswell, which is supposed to give quick access to styling without a creator having to set up more than necesarry.

problem is, i - whatever ive tried - can't seem to the get the ::theme selector work, is there anyone who can help me out ?

screendump is from https://meowni.ca/posts/part-theme-explainer/ …

html css web-component shadow-dom

5
推荐指数
1
解决办法
1397
查看次数

标签 统计

css ×1

html ×1

shadow-dom ×1

web-component ×1