Skip to content

Commit a5386f3

Browse files
committed
docs: 优化文档
1 parent 4032fba commit a5386f3

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ English | [中文](README_CN.md)
66

77
Tailwind 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

1117
Install via npm:

README_CN.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66

77
Tailwind CSS 插件,支持将 **px** 单位属性自动转换为视口单位 **vw****vh。**
88

9+
## 功能特性
10+
- 📏 基于设计稿尺寸的自动视口单位转换
11+
- 🖌️ 支持自定义 CSS 属性映射规则
12+
- 📱 适配 Tailwind CSS v3.x 版本
13+
- 💡 同时支持宽度(vw)和高度(vh)基准
14+
915
## 安装
1016

1117
通过npm安装

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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",

0 commit comments

Comments
 (0)