What to set as width for iframe (with responsiveness)? #5291
Unanswered
fredrikaverpil
asked this question in
Q&A
Replies: 1 comment
-
I recommend reading how to use a full-width iframe with custom aspect ratio. If you don't need to maintain an aspect ratio, you can drop the surrounding divs mentioned in the article, but it's often desired. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to embed some other web content on my mkdocs-material blog using
iframe
. Something like:However, I should probably set the width, to avoid a funky look:
What's a good way to set the width, but also take responsiveness into account; different widths for different devices/resolutions?
Beta Was this translation helpful? Give feedback.
All reactions