Alignments

The majority of these settings should get left as default. However, if you feel confident, feel free to adjust and change the parameters.

Adjusting alignment changes the location of content like text. Here are some examples of how text alignment changes using “textAlign” and a direction.

"textAlign": "center", // text is set in the middle of an element
"textAlign": "left", // text is set to the left of an element
"textAlign": "right", // text is set to the right of an element
"textAlign": "justify", // text spans to fit the element

Last updated