我正在为我的段落设置样式,并且在一定数量的字符后有换行符。我希望能够使休息后的线左对齐而不是居中对齐。
.justify {
text-align: justify;
text-justify: inter-word;
}
.paragraph {
text-align: center;
max-width: 220px;
word-wrap: break-word;
word-break: break-all;
}
<div class='justify'>
<p class="paragraph">Hello, my name is Taylor and welcome to my personal website!</p>
</div>