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

Responsive images #21

Open
hlabrand opened this issue Jun 21, 2019 · 1 comment
Open

Responsive images #21

hlabrand opened this issue Jun 21, 2019 · 1 comment

Comments

@hlabrand
Copy link

Would it be helpful to have a small function that displays an image if the screen is large and another one if it is small? It's just putting divs with the right CSS (sm-only or lg-only) and the right picture in them, but I wrote that piece of code 5 times and it could be automated. Or maybe it should be in an extension?

@juhana
Copy link
Member

juhana commented Jun 23, 2019

My immediate reaction is that it should not be in the core library because in the "normal" case CSS should resize the images automatically, but I'll think about it a bit more.

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

2 participants