如何用CSS填充列
要填充列,请使用column-fill属性。您可以尝试运行以下代码以实现带有余额形式的column-fill属性:
示例
<!DOCTYPE html>
<html>
<head>
<style>
.demo {
column-count: 4;
column-fill: balance;
}
</style>
</head>
<body>
<div class = "demo">
This is demo text. This is demo text. This is demo text.
This is demo text. This is demo text. This is demo text.
This is demo text. This is demo text. This is demo text.
This is demo text. This is demo text. This is demo text.
This is demo text. This is demo text. This is demo text.
This is demo text. This is demo text. This is demo text.
This is demo text. This is demo text. This is demo text.
This is demo text. This is demo text. This is demo text.
This is demo text. This is demo text. This is demo text.
This is demo text.
</div>
</body>
</html>热门推荐
10 毕业升高中祝福语简短
11 邻居进新房祝福语简短
12 考试毕业祝福语老师简短
13 伴娘送亲祝福语简短精辟
14 夏至问候客户祝福语简短
15 恭祝同学新婚祝福语简短
16 工作离别祝福语 英语简短
17 花篮考学祝福语大全简短
18 好友搞笑留言祝福语简短