{"version":"1.0","width":"100%","url":"https://m-mitsuki.hatenadiary.org/entry/2019/08/28/212509","categories":["JavaScript","CSS","\u305d\u306e\u4ed6"],"published":"2019-08-28 21:25:09","blog_url":"https://m-mitsuki.hatenadiary.org/","author_url":"https://blog.hatena.ne.jp/m-mitsuki/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fm-mitsuki.hatenadiary.org%2Fentry%2F2019%2F08%2F28%2F212509\" title=\"youtube\u52d5\u753b\u3092\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u3067\u57cb\u3081\u8fbc\u3080\u5834\u5408 - \u4ed5\u4e8b\u5099\u5fd8\u9332\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","image_url":null,"height":"190","type":"rich","title":"youtube\u52d5\u753b\u3092\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u3067\u57cb\u3081\u8fbc\u3080\u5834\u5408","author_name":"m-mitsuki","provider_url":"https://hatena.blog","description":"\u53c2\u8003\u30b5\u30a4\u30c8 design.webclips.jp\u57fa\u672c\u7684\u306biframe\u3092\u7e26\u6a2a\u6bd4\u3092\u30a2\u30b9\u30da\u30af\u30c8\u6bd4\u306b\u5408\u308f\u305b\u305f\u30dc\u30c3\u30af\u30b9\u3067\u56f2\u3046\u3001\u3068\u3044\u3046\u5f62\u3002 CSS\u3067iframe\u306ewidth\u3068height\u3092\u30dc\u30c3\u30af\u30b9\u306b\u5408\u308f\u305b\u3066100%\u306b\u3059\u308b\u306e\u3067\u3001\u554f\u984c\u306a\u3044\u3002 <style> .video_wrap { width: 100%; height: 56.25vw; position: relative; } .video_wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } </style> <div class=\"video\u2026","blog_title":"\u4ed5\u4e8b\u5099\u5fd8\u9332"}