📜  css 保持纵横比图像 - CSS 代码示例

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

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