Stuff & Nonsense product and website design

Rolf Timmermans: Responsive background images with fixed or fluid aspect ratios

It is possible to make any HTML element scale its height proportional to its width.

I’ll use the heck out of this.



Written by Andy Clarke who filed this in responsive .


Would you like advice and inspiration on making better designs for the web?

Get monthly design inspiration and insights based on my 25+ years of experience. View some recent emails, sign up today, and get:

    I promise never to share your email address and you can unsubscribe with just one click.

    Free set of Layout Love grid templates when you sign up today.

    Hire me. I’m available for coaching and to work on design projects.