三個都是block 元素。 你可以設置 <figure> 元素的高度和寬度,然後像你所說的添加margin 自動。 然後在你的css中設置:. 复制代码. img { width: 100%; height: auto; } ...
確定! 回上一頁