如何在一段两端对齐的文本中间放置一个间隙(如图所示)?文本不会自动换行到列中的下一行,而是从差距的左侧到右侧继续。文本在整个段落中以及间隙的前后两端对齐。
示例html:
<div>
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has
survived
</div>
1条答案
按热度按时间xdyibdwo1#
您需要了解显示器:Flex;和对齐内容