From 64dea3e8011dc0ae185a9ab6614a8a5bb2a20aa2 Mon Sep 17 00:00:00 2001 From: Allen Date: Wed, 13 Oct 2021 19:55:46 +0800 Subject: [PATCH] docs(cn): translate features/rtl.md (#100) Co-authored-by: QiChang Li --- features/rtl.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/features/rtl.md b/features/rtl.md index 37cbd474..1be9d55c 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 - + - + ```