用CSS指定列之间的间距
使用column-gap属性设置列之间的间隔。您可以尝试运行以下代码以实现值为50px的column-gap属性:
示例
<!DOCTYPE html>
<html>
<head>
<style>
.demo {
column-count: 4;
column-gap: 50px;
}
</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 对部门师姐祝福语简短