Add CSS Syntax (#19836)
This commit is contained in:
committed by
Nishant Mishra
parent
3a6594f1fb
commit
e637a3c703
@ -5,6 +5,11 @@ title: Text Align
|
|||||||
|
|
||||||
This CSS property describes the horizontal alignment of inline content in its parent block element. `text-align` does not control the alignment of block elements, it affects only their inline content.
|
This CSS property describes the horizontal alignment of inline content in its parent block element. `text-align` does not control the alignment of block elements, it affects only their inline content.
|
||||||
|
|
||||||
|
### CSS Syntax
|
||||||
|
`text-align: value;`
|
||||||
|
|
||||||
|
value : `left|right|center|justify|initial|inherit`
|
||||||
|
|
||||||
### Values:
|
### Values:
|
||||||
The `text-align` property is specified as a single keyword chosen from the list of values below:
|
The `text-align` property is specified as a single keyword chosen from the list of values below:
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user