<p>自动不会移至底线

时间:2019-07-01 07:30:12

标签: html

<p>标签自动不会移至底行

它做单行,但我想做多行

.messageInTextGo {
  max-width: 80%;
  object-fit: contain;
  font-family: Roboto;
  font-size: 12px;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: normal;
}
<p style="text-align: justify" class="messageInTextGo">Lorem ipsum dolor elit, sed do tempor ut labore et dolore magna. Ut enim ad mini, quis exercitation laboris nisi ut ex ea.
</p>

输出; Lorem ipsum dolor elit,sed do tempor ut laboure and dolore magna .........

0 个答案:

没有答案