tailwindcss如何实现before,after 以及hover?
来源:7-7 通用组件:button 按钮功能实现-1

拧壶冲
2022-06-08
比如在button中,有时候css是需要before,after,hover的时候显示svg的icon。请教老师在目前项目的工具集下,如何实现?
写回答
1回答
-
Sunday
2022-06-09
你好
tailwindcss 的宗旨是让我们不需要再去写 css 了。那么既然如此,就没有必要使用 before 或者 after 呀。
122022-06-10
相似问题