【文件属性】:
文件名称:react-style-components:用于样式元素的 React 组件
文件大小:17KB
文件格式:ZIP
更新时间:2021-06-23 03:55:06
JavaScript
在制品。 向前走!
React 样式组件
用于样式元素的 React 组件。
支持的组件
伪类
hover伪元素
任何元素的通用悬停样式
链接相关的伪类选择器
:link
:visited
:hover
:active
与文本相关的伪类选择器/元素
:first-letter
::first-line
与内容相关的伪“元素”
::before
::after
基于位置/数字的伪类选择器
去做
很可能我们必须在这些选择器中使用React.Children方法和Array.prototype方法
:first-child
:last-child
:nth-child(N)
:nth-oth-type(N)
:first-of-type
:last-of-type
:nth-last-of-type(N)
:nth-last-child(N)
:only-of-type
【文件预览】:
react-style-components-master
----index.js(400B)
----package.json(761B)
----src()
--------vendor()
--------core()
--------components()
--------stubs()
----.gitignore(43B)
----demo()
--------package.json(301B)
--------server.js(395B)
--------index.html(186B)
--------app()
--------webpack.config.js(653B)
----README.md(1KB)
----.editorconfig(243B)