Forums

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

Home Forums CSS Image sizes attribute relative to the container? Reply To: Image sizes attribute relative to the container?

#257183
Paulie_D
Member

In general, I wouldn’t…I’d want the image to be responsive…and Bootstrap (for instance) has classes for that.

Using max-width:100 and height:auto…is generally all you need…

If course, responsive means different things in different situations and it depends on your requirements

https://css-tricks.com/responsive-images-css/