162
rated 0 times
[
165]
[
3]
/ answers: 1 / hits: 5501
/ 10 Years ago, tue, march 11, 2014, 12:00:00
Is there a way of making a background fit a div height while keeping his ratio ? Like a contain but for y only ? according to this answer there isn't Background Image Scaling While Maintaining Aspect Ratio however considering that the most voted answer quoted some css3 possiblities I was wondering if there was a way nowdays to do so in css3 or maybe javascript ?
More From » css