![]() ![]() This shouldn't be a big issue either, right? We can just set the width to 100%. In those cases we would get a side-scroll and nobody likes side-scrolls, do they? Looks pretty good! Until we hit a screen size which can't fit our iframe. We'll throw these in so we can get a full-sized, usable version of the video. That shouldn't be an issue for us, right? With a quick check in the MDN Web Docs we can see that the iframe tag supports attributes like width and height. At this size, however, it's not very usable. Īs a result, we got a small box with the video. For the means of this example we will use a YouTube embed for the Python 101 Forever course introduction. Getting those elements to look good across multiple resolutions, however, might be a tricky task. Whether you need to add a social media widget to your personal blog, embed a video or something else you are probably going to be using an iframe. Remember to only use content from trusted sites if you still need to use it for development purposes.The iframe tag is used quite often around the web. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |