Skip to content

Commit bf8e378

Browse files
committed
Merge branch 'base'
2 parents dfe0991 + da6509a commit bf8e378

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Diff for: uno.config.ts

-4
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,6 @@ export default defineConfig({
8484
* mp 里面:mt-4 => margin-top: 32rpx == 16px
8585
* h5 里面:mt-4 => margin-top: 1rem == 16px
8686
*
87-
* 另外,我们还可以推算出 UnoCSS 单位与设计稿差别4倍。
88-
* 375 * 4 = 1500,把设计稿设置为1500,那么设计稿里多少px,unocss就写多少述职。
89-
* 举个例子,设计稿显示某元素宽度100px,就写w-100即可。
90-
*
9187
* 如果是传统方式写样式,则推荐设计稿设置为 750,这样设计稿1px,代码写1rpx。
9288
* rpx是响应式的,可以让不同设备的屏幕显示效果保持一致。
9389
*/

0 commit comments

Comments
 (0)