Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS image stretch to the width of the screen Reply To: image stretch to the width of the screen

#150153
Paulie_D
Member

To be honest, from what I can see that image needs, in fact, to be two separate images (flags & UK)…the darker section can be done with CSS.

The image shouldn’t really be in the HTML as it’s not content but rather should be a bg image.

http://codepen.io/anon/pen/Lkoqu

If you change the height of the header you can see that the image will be clipped so that’s another issue.

It’s much easier to scale a large image down rather than the other way.