You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, I've been thinking about that but using vw with max-width allows the image to scale to a known max-width.
Using transform: scale() how would you make sure the expanded image is <= 100% of the window width since it purposely overflows its container? I believe more JavaScript would be necessary here but I'm open to suggestions.
Would it be possible to use CSS transforms instead of setting max-width? Transforms should be more performant especially on low-end devices.
The text was updated successfully, but these errors were encountered: