我想让文本向左浮动,我想让文本位于三角形下方。我怎样才能做到这一点?
.content {
background-color: #fff;
min-height: 320px;
min-width: 320px;
max-width: 600px;
text-align: justify;
}
.content::before {
float: left;
display: block;
content: '';
height: 0;
border: 150px solid #dcdcdc;
border-right-color: transparent;
border-bottom-color: transparent;
}
<div class="content">
Lorem ipsum, dolor sit amet consectetur adipisicing elit. Beatae debitis dignissimos, voluptatem quas, quo aliquid
veniam illo itaque doloribus, sequi exercitationem tempore obcaecati cum consectetur blanditiis natus at. Dicta
nobis eum provident quasi atque cum eveniet, voluptas adipisci fugit esse.
Lorem ipsum dolor sit amet consectetur adipisicing elit. Adipisci dolorem assumenda,
</div>
HUX布斯
Smart猫小萌
相关分类