gpt4 book ai didi

css - 如何使用内嵌图片实现多栏布局

转载 作者:太空宇宙 更新时间:2023-11-03 19:34:30 25 4
gpt4 key购买 nike

我正在尝试使用内联图像实现多列布局。

如下图所示:

===========   ============   ============   ============   ============   + + + + + +
=========== ============ ============ ============ ============ + +
=========== ============ ============ ============ ============ + Image-3 +
=========== ============ ============ ============ ============ + +
+ + + + + + + + + + + + + ============ + + + + + + ============ + +
+ + ============ + + ============ + +
+ Image-1 + ============ + Image-2 + ============ + + + + + +
+ Spanned across columns + ============ + + Empty space ============
+ + ============ + + as Image-3 ============
+ + ============ + + cannot fit ============
+ + + + + + + + + + + + + ============ + + + + + + here ============

我必须在基于 JavaScript/HTML 的 Windows 8 应用程序中使用它(因此您可以假设它仅适用于 IE 10)。

我尝试使用以下 CSS,但它没有按预期布置图像。

column-fill: auto;
column-gap: 30px;
column-width: 270px;

知道我该怎么做吗?

最佳答案

关于css - 如何使用内嵌图片实现多栏布局,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12444760/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com