Skip to content

Commit

Permalink
add: host
Browse files Browse the repository at this point in the history
  • Loading branch information
lvzhenbang committed Jun 8, 2019
1 parent a1e0733 commit dcd9f73
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ what can a pseudo-class/pseudo-element do?
* [:not](#not)
* [:empty](#empty)
* [:matches](#matches)
* [:host](#host)

</details>

Expand Down Expand Up @@ -651,3 +652,15 @@ demo: 定义css[变量](https://css-tricks.com/css-variables-calc-rgb-enforcing-
示例:

[demo](https://codepen.io/lvzhenbang/pen/ReNeoa)

#### host

`:host`

描述:这个伪类主要用来指定`template`元或者其子元素的样式。

浏览器支持:仅chrome 54+, opera 41+支持

示例:

[demo](https://codepen.io/calebdwilliams/pen/eXJZza)

0 comments on commit dcd9f73

Please sign in to comment.