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' ,
用户评论