tailwindcss pseudo elements:TailwindCSS插件添加伪元素的变体 源码
tailwindcss-pseudo-elements TailwindCSS插件,添加伪元素的变体( ::before , ::after , ::first-letter等)。 用法 安装 NPM npm install tailwindcss-pseudo-elements --save-dev 纱 yarn add tailwindcss-pseudo-elements -D 配置 const plugin = require ( 'tailwindcss/plugin' ) module . exports = { variants : { extend : { textColor : [ 'responsive' , 'hover' , 'focus' , 'before' ,
文件列表
tailwindcss-pseudo-elements-main.zip
(预估有个18文件)
tailwindcss-pseudo-elements-main
.gitignore
948B
content-utilities.js
736B
lib.js
1KB
README.md
2KB
.github
workflows
update-pseudos.yml
2KB
main.yml
647B
test
暂无评论