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

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

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