📜  左对齐 css mdn - CSS 代码示例

📅  最后修改于: 2022-03-11 14:47:41.277000             🧑  作者: Mango

代码示例1
text-align:left; //Aligns the text to the left
text-align:right; //Aligns the text to the right
text-align:center; //Aligns the text to the center
text-align:justify; //Stretches the lines so that each line has equal width (like in newspapers and magazines)
text-align:initial    //Sets this property to its default value.
text-align:inherit    //Inherits this property from its parent element.