diff --git a/src/docs/text-align.mdx b/src/docs/text-align.mdx index eae2a7127..5c0651424 100644 --- a/src/docs/text-align.mdx +++ b/src/docs/text-align.mdx @@ -127,6 +127,61 @@ Use the `text-justify` utility to justify the text of an element: +### Text alignment with Directions (LTR and RTL) + +Use the `text-start` utility to align text to the start of HTML element, regardless or the direction (LTR or RTL): + +
+ + + { +
+
+

+ EN text align start +

+

+ نص عربي في بداية السطر +

+
+
+ } +
+ +```html + +

So I started to walk into the water...

+

هنا يبدأ النص...

+``` + +
+ +and use the `text-end` utility to align text to the end of HTML element, regardless or the direction (LTR or RTL), +
+ + + { +
+
+

+ EN text align end +

+

+ نص عربي في نهاية السطر +

+
+
+ } +
+ +```html + +

So I started to walk into the water...

+

هنا يبدأ النص...

+``` + +
+ ### Responsive design