Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Srcset and Size when applied don’t render html as when applied on <img> tag #1507

Open
rbedeoan-plenty opened this issue Sep 24, 2024 · 0 comments

Comments

@rbedeoan-plenty
Copy link

When using img tag, browser breakpoints behave as they should.
Desired behaviour:

Here is a public codepen to exemplify. (feel free to play with example)

https://codesandbox.io/p/devbox/7t824m
https://7t824m-3000.csb.app/

But with nuxtimg,same parameters, can’t obtain the same behaviour on the 3 breakpoints.

What i tried:
-using min-width,changing the dpr.

Any suggestion or ideea is welcomed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant