Streaming live at 10am (PST)

Position attributes to make image container flex too small display on mobile


Can you please advise which settings would be best to apply to a container within a section that has a background image pulled in - but so that the image flexes/re-scales to small size to fit within the screen on a mobile phone?

Right now, I have defined the height of the image to ensure the full image displays. The width is set to auto. However, if I make the height 'auto', the container height collapses quite a bit to only reveal the top portion of my image rather than the full pic.

Would like to try to alter this. Thank you.


I think it pretty much depends on images aspect ratio and on you needs also.

closed #3

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.