我想使用 CSS3 列属性制作 3 列。我还想指定这 3 列的宽度。
是否可以为不同的列指定不同的宽度?假设我想要 col1 = 200px, col2 = 300px, col3=400px;
请帮帮我。
最佳答案
#columns {
columns:100px 3;
-webkit-columns:100px 3;
-moz-columns:100px 3;
}
<div id="columns">
Content here here
Content here here
Content here here
Content here here
</div>
关于html - 指定 CSS3 列的宽度,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17401402/