Learn about CSS styling options in Shadow DOM. ... :host(<selector>) 接受一个选择器参数,当宿主元素或它的任意祖先元素和该选择器匹配,那么宿主元素就会匹配。
確定! 回上一頁