而CSS 中的max-width 提供了解決方案,這個屬性能夠讓原本一個 ... 就隨著寬度做等比例縮小。 img { height: auto; max-width: 100%; } CSS3 Media ...
確定! 回上一頁