📜  css 保持图片比例 - CSS 代码示例

📅  最后修改于: 2022-03-11 14:47:30.593000             🧑  作者: Mango

代码示例4
Don't set height AND width. Use one or the other and the correct aspect ratio will be maintained.