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
I want the possibility to get different aspect ratios on different breakpoints (eg. 1/1 on 400w, 1/2 on 1200w). As of now I've only managed fetch scaled versions of the original aspect ratio.
I couldn't find anything about this in the documentation, but please direct me to it if its already supported.
Enviroment:
Request explanation:
I want the possibility to get different aspect ratios on different breakpoints (eg. 1/1 on 400w, 1/2 on 1200w). As of now I've only managed fetch scaled versions of the original aspect ratio.
Desired output
According to this issue this is supported is supported on major browsers (on chrome since v90, Safari since v15 and Firefox since v105)
Notice that each
<source>
has its ownwidth
andheight
attributeFor guick reference:
This is the output (without trying to get multiple aspect ratios) on the official codesandbox playground
The text was updated successfully, but these errors were encountered: