Make an image fit its container by setting the image height to the containers heights

前端 未结 2 1720
没有蜡笔的小新
没有蜡笔的小新 2021-01-19 09:32

Say I have container.a and it has some height in pixels, say I have another container.b within container.a that is 80% of container.a, now say I want to fit an image that ha

2条回答
提交回复
热议问题