用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>热门推荐
1 初八的祝福语简短
10 生日祝福语舅舅 简短独特
11 英文简短唯美祝福语大全
12 新年给妈妈简短祝福语
13 春节拜年祝福语儿童简短
14 老同学十一祝福语简短
15 广东新居入伙简短祝福语
16 小孩想说的祝福语简短
17 女性生日祝福语简短优美
18 简短佛教新年祝福语大全