File tree Expand file tree Collapse file tree 3 files changed +13
-1
lines changed
Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,12 @@ English | [中文](README_CN.md)
66
77Tailwind CSS plugin that automatically converts ** px** unit properties to viewport units ** vw** or ** vh** .
88
9+ ## Features
10+ - 📏 Automatic viewport unit conversion based on design draft dimensions
11+ - 🖌️ Custom CSS property mapping rules
12+ - 📱 Compatible with Tailwind CSS v3.x
13+ - 💡 Dual support for width (vw) and height (vh) baselines
14+
915## Installation
1016
1117Install via npm:
Original file line number Diff line number Diff line change 66
77Tailwind CSS 插件,支持将 ** px** 单位属性自动转换为视口单位 ** vw** 或 ** vh。**
88
9+ ## 功能特性
10+ - 📏 基于设计稿尺寸的自动视口单位转换
11+ - 🖌️ 支持自定义 CSS 属性映射规则
12+ - 📱 适配 Tailwind CSS v3.x 版本
13+ - 💡 同时支持宽度(vw)和高度(vh)基准
14+
915## 安装
1016
1117通过npm安装
Original file line number Diff line number Diff line change 11{
22 "name" : " tailwindcss-px-to-viewport" ,
3- "version" : " 0.1.2 " ,
3+ "version" : " 0.1.3 " ,
44 "description" : " use tailwindcss px to vw or vh" ,
55 "author" : " the-lemonboy" ,
66 "license" : " MIT" ,
You can’t perform that action at this time.
0 commit comments