Flexible cover images using intrinsic ratio
We recently changed the way header images are displayed in CAPP Agile Learning. They used to be fixed height and were clipped at the sides depending on the screen resolution. This would hide parts of the image which got really annoying, especially when using text in the image that is being clipped. So what we needed was a way for the images to maintain their aspect ratio. Read more