使用CSS指定列的宽度
使用column-width属性指定列的宽度。您可以尝试运行以下代码以实现column-width属性-
示例
<!DOCTYPE html>
<html>
<head>
<style>
.demo {
column-count: 4;
column-rule-color: gray;
column-rule-style: dashed;
column-width: 100px;
}
</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 送给员工美好祝福语简短