{"author_url":"https://blog.hatena.ne.jp/yuu9919x/","height":"190","categories":["CSS","javascript"],"width":"100%","blog_title":"yuu9919x\u2019s blog","author_name":"yuu9919x","title":"\u3010CSS\u3011\u3010javascript\u3011\u8981\u7d20\u306e\u4e2d\u5fc3\u3092\u57fa\u6e96\u306b\u63cf\u753b\uff08Draw relative to the center of the element.\uff09","published":"2023-09-15 20:52:39","type":"rich","description":"\u3010HTML\u3011 <div class=\"Container\"><div class=\"Contents\"></div></div> \u3010CSS\u3011 .Container { position: absolute; width: 0; height: 0; overflow: visible; } .Container .Contents { position: absolute; left: -1rem; // herf width top: -1rem; // herf height right: -1rem; // herf width bottom: -1rem; // herf height\u2026","version":"1.0","provider_url":"https://hatena.blog","image_url":null,"provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyuu9919x.hatenablog.com%2Fentry%2F2023%2F09%2F15%2F205239\" title=\"\u3010CSS\u3011\u3010javascript\u3011\u8981\u7d20\u306e\u4e2d\u5fc3\u3092\u57fa\u6e96\u306b\u63cf\u753b\uff08Draw relative to the center of the element.\uff09 - yuu9919x\u2019s blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://yuu9919x.hatenablog.com/entry/2023/09/15/205239","blog_url":"https://yuu9919x.hatenablog.com/"}