Comments (2)
- 该问题应该和 Windi CSS 本身有关,需要打开 prefixer 选项来开启对浏览器前缀的支持。点击查看 Windi CSS 的 issue
from mini-program-tailwind.
- 你参考的设计稿是 350px 宽度的吗?插件其实会自动读取 Taro 的
designWidth
配置,Taro 默认的designWidth
配置是750
而且转换比率是1
,建议你关闭 Taro 的pxTransform
选项,然后开启插件的enableRpx
选项,如果你的设计稿是 350px 那么将 Taro 的designWidth
配置改为350
即可达到2px
转换为4rpx
的目的。
from mini-program-tailwind.
Related Issues (20)
- 使用vscode开发没有tailwindcss的代码提示 HOT 1
- windicss 不维护了, 可以支持tailwindcss吗? HOT 2
- 偶现类名失效,app.wxss里没有对应类名 HOT 5
- bg-[#1636fc] 和其他class一起用,其他样式失效 HOT 2
- p-[24px] 这种类名有时候失效,原因已查明,但不知道是否有修复的必要
- 带特殊符号([].!/)的样式没有正确转换,导致失效 HOT 4
- 请问一下是如何实现的任意 fraction HOT 2
- uniapp+vue3使用windicss 编译小程序后过一会提示报错 HOT 1
- uniapp编译为百度小程序时px-[60rpx]
- 和现有项目样式冲突了
- 微信小程序在js设定px大小时 会出现不生效情况
- supports-[]语法失效
- 暗黑模式 darkmode 无效 HOT 1
- vscode中WindiCSS IntelliSense插件失效
- App平台 v3 模式暂不支持在 js 文件中引用"windi.css" 请改在 style 内引用 HOT 2
- [bug]uni-app vue3 vite下,运行过程中报错
- 最新的tailwind3.x如何配置?请求给个成功示例 HOT 1
- uniapp vue3 vite 运行时正常,发行之后部分windicss的样式失效 HOT 1
- hover-class中的 !类名 不生效 HOT 1
- 使用模板字符串换行后,生成的类名有误导致样式不正确 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mini-program-tailwind.