Streaming live at 10am (PST)

Flex fill to 100% width without scaling or cropping?


#1

I am trying to create a simple gallery but want it to fill the width of my container without distorting (stretching). Is this possible?

See my sample below.

So basically want something like below. but no stretching. Scaling height to fill the width of my container.


Here is my public share link: LINK
(how to access public share link)


#2

Well, i'm not sure if this is the only way, but at least it works.
You don´t use img but use DIV´s. On the div´s background you put your photos with "Cover" and it will work as you want.


#3

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