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

background-image CSS attribute vs <img/> element #319

Open
CarcajadaArtificial opened this issue Aug 29, 2024 · 0 comments
Open

background-image CSS attribute vs <img/> element #319

CarcajadaArtificial opened this issue Aug 29, 2024 · 0 comments

Comments

@CarcajadaArtificial
Copy link

Hi everyone,

I wanted to know if there's a way to add images using the CSS background-image attribute instead of <img/> elements. I find that <img/> elements have limitations and don't provide the flexibility needed for full manipulation, especially when it comes to styling and responsiveness.

Using CSS for images could offer more control over properties like positioning, scaling, and layering, but I’m not sure how to implement this effectively or if it's supported in our current setup.

Has anyone explored this approach or have suggestions on how to do this? Any insights or examples would be greatly appreciated!

Thanks!

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