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 - + - + ```