freecodecamp
Adrian Yang
Front End Engineer @ FacebookResponsive Web Design Certification
Applied Visual Design
Create Visual Balance Using the text-align Property
text-align: justify; causes all lines of text except the last line to meet the left and right edges of the line box. 即每行的左右两端都紧贴行的边缘。
text-align: center; centers the text
text-align: right; right-aligns the text
And text-align: left; (the default) left-aligns the text.djust the Width of an Element Using the width Property
img { width: 220px;}