From be05d16cdb856d9bb905ce6d479fec4cfdacc8cf Mon Sep 17 00:00:00 2001 From: justforuse Date: Wed, 29 Sep 2021 15:51:50 +0800 Subject: [PATCH 1/4] docs(cn): translate features/rtl.md --- features/rtl.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/features/rtl.md b/features/rtl.md index 37cbd474..a83bee1e 100644 --- a/features/rtl.md +++ b/features/rtl.md @@ -1,25 +1,25 @@ -# RTL +# 从右到左 {#rtl} -Windi CSS has out-of-box RTL support with zero configuration from `v2.5.4`. +从`v2.5.4`开始,Windi CSS 拥有开箱即用的从右到左(RTL)书写方式支持,无需任何配置。 -By prefixing the `rtl:` variant to the utilities, they will only apply when RTL is enabled. +通过向工具类前方增加`rtl:`可变修饰即可,这只会在RTL启用时生效。 -It's easy to enable RTL, you just need to apply `dir="rtl"` on the `html` element to make it affects. +开启RTL很简单,只需要在`html`标签上增加`dir="rtl"`属性就可使其生效。 ```html - + - + ``` From 384a378bd145e4476a4cca21bb74dbb31b448275 Mon Sep 17 00:00:00 2001 From: Allen Date: Sat, 9 Oct 2021 14:17:36 +0800 Subject: [PATCH 2/4] Update features/rtl.md Co-authored-by: QiChang Li --- features/rtl.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/rtl.md b/features/rtl.md index a83bee1e..878d6775 100644 --- a/features/rtl.md +++ b/features/rtl.md @@ -1,6 +1,6 @@ # 从右到左 {#rtl} -从`v2.5.4`开始,Windi CSS 拥有开箱即用的从右到左(RTL)书写方式支持,无需任何配置。 +自 `v2.5.4` 起可用,Windi CSS 拥有开箱即用的从右到左(RTL)书写方式支持,且无需任何配置。 通过向工具类前方增加`rtl:`可变修饰即可,这只会在RTL启用时生效。 From e6566d3b2f1b180ace7f1903bb13a32058f20dfc Mon Sep 17 00:00:00 2001 From: Allen Date: Sat, 9 Oct 2021 14:17:55 +0800 Subject: [PATCH 3/4] Update features/rtl.md Co-authored-by: QiChang Li --- features/rtl.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/rtl.md b/features/rtl.md index 878d6775..93c0b0c2 100644 --- a/features/rtl.md +++ b/features/rtl.md @@ -2,7 +2,7 @@ 自 `v2.5.4` 起可用,Windi CSS 拥有开箱即用的从右到左(RTL)书写方式支持,且无需任何配置。 -通过向工具类前方增加`rtl:`可变修饰即可,这只会在RTL启用时生效。 +通过向工具类前方增加 `rtl:` 可变修饰即可,仅在 RTL 启用时生效。 From 5d0b92c8eb130aa7e48ed6ffd1f55ea4820c68c5 Mon Sep 17 00:00:00 2001 From: Allen Date: Sat, 9 Oct 2021 14:18:02 +0800 Subject: [PATCH 4/4] Update features/rtl.md Co-authored-by: QiChang Li --- features/rtl.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/rtl.md b/features/rtl.md index 93c0b0c2..1be9d55c 100644 --- a/features/rtl.md +++ b/features/rtl.md @@ -8,7 +8,7 @@ -开启RTL很简单,只需要在`html`标签上增加`dir="rtl"`属性就可使其生效。 +开启 RTL 很简单,只需要在 `html` 标签上增加 `dir="rtl"` 属性就可使其生效。 ```html