Skip to content

windicss to tailwindcss

例子: 利用正则表达式分组的功能来迁移 windicsstailwindcss

(w|h|min-w|max-w|min-h|max-h|top|right|left|bottom){1}-(\d+)px -> $1-[$2px]

p([xyrltb])?-(\d+)px -> p$1-[$2px]

m([xyrltb])?-(\d+)px -> m$1-[$2px]

leading-(\d+)px -> leading-[$1px]

text-(\d+)px -> text-[$1px]

border(-[xyrltb])?-(\d+)px -> border$1-[$2px]

2025( )
今日 8.33%
本周 42.86%
本月 48.39%
本年 4.11%
Powered by Snowinlu | Copyright © 2024- | MIT License