{"id":4307,"date":"2025-12-02T15:38:32","date_gmt":"2025-12-02T06:38:32","guid":{"rendered":"https:\/\/dennie.tokyo\/it\/?p=4307"},"modified":"2026-06-13T12:14:45","modified_gmt":"2026-06-13T03:14:45","slug":"%e3%80%90css%e3%80%91%e6%96%87%e5%ad%97%e3%81%ae%e5%8f%b3%e4%b8%8b%e5%af%84%e3%81%9b","status":"publish","type":"post","link":"https:\/\/dennie.tokyo\/it\/?p=4307","title":{"rendered":"\u3010CSS\u3011\u6587\u5b57\u306e\u53f3\u4e0b\u5bc4\u305b"},"content":{"rendered":"\n<p>\u6587\u5b57\u3092\u53f3\u4e0b\u5bc4\u305b\u306b\u3057\u305f\u3044\u6642\u306e\u5099\u5fd8\u9332\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<!--more-->\n\n\n\n<h1 class=\"wp-block-heading\">\u30c6\u30ad\u30b9\u30c8<\/h1>\n\n\n\n<p>\u4eca\u56de\u306f2\u3064\u306e\u30a4\u30f3\u30e9\u30a4\u30f3\u8981\u7d20(\u30c6\u30ad\u30b9\u30c8)\u3092\u6a2a\u306b\u4e26\u3079\u304b\u3064\u3001\u53f3\u4e0b\u5bc4\u305b\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>HTML<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-html\" data-lang=\"HTML\"><code>    &lt;div class=&quot;out_box&quot;&gt;\n        &lt;div class=&quot;position flex-box&quot;&gt;\n            &lt;span&gt;\u3042\u3042\u3042\u3042&lt;\/span&gt; &lt;span&gt;\u3044\u3044\u3044\u3044&lt;\/span&gt;\n        &lt;\/div&gt;\n    &lt;\/div&gt;<\/code><\/pre><\/div>\n\n\n\n<p><strong>CSS<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code>.out_box {\n    position: relative;\n    height: 150px; \n    background-color: aqua;\n}\n\n.out_box .position {\n    position: absolute;\n    right: 0;\n    bottom: 0;\n    background-color: blueviolet;\n}\n\n.out_box .flex-box {\n    display: flex;\n    align-items: center;\n    gap: 10px;\n    color: #ffffff;\n}\n<\/code><\/pre><\/div>\n\n\n\n<p><strong>\u7d50\u679c<\/strong><\/p>\n\n\n\n<style>\n.out_box-01 {\n    position: relative;\n    height: 150px; \n    background-color: aqua;\n}\n\n.out_box-01 .position {\n    position: absolute;\n    right: 0;\n    bottom: 0;\n    background-color: blueviolet;\n}\n\n.out_box-01 .flex-box {\n    display: flex;\n    align-items: center;\n    gap: 10px;\n    color: #ffffff;\n}\n<\/style>\n    <div class=\"out_box-01\">\n        <div class=\"position flex-box\">\n            <span>\u3042\u3042\u3042\u3042<\/span> <span>\u3044\u3044\u3044\u3044<\/span>\n        <\/div>\n    <\/div>\n\n\n\n<h1 class=\"wp-block-heading\">\u753b\u50cf\u3068\u30c6\u30ad\u30b9\u30c8<\/h1>\n\n\n\n<p>\u753b\u50cf\u3068\u30c6\u30ad\u30b9\u30c8\u3092\u6a2a\u4e26\u3073\u306b\u3057\u3066\u307f\u307e\u3059\u3002\u4eca\u56de\u306f &#8220;good_icon.png&#8221; \u3068\u3044\u3046\u30a2\u30a4\u30b3\u30f3\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>HTML<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-html\" data-lang=\"HTML\"><code>    &lt;div class=&quot;out_box&quot;&gt;\n        &lt;div class=&quot;position flex-box&quot;&gt;\n            &lt;img src=&quot;good_icon.png&quot;&gt; &lt;span&gt;100&lt;\/span&gt;\n        &lt;\/div&gt;\n    &lt;\/div&gt;<\/code><\/pre><\/div>\n\n\n\n<p>CSS<\/p>\n\n\n\n<p>\u5148\u307b\u3069\u3068\u307b\u3068\u3093\u3069\u5909\u308f\u308a\u306a\u3044\u3067\u3059\u3002\u5909\u66f4\u70b9\u306f\u753b\u50cf\u306e\u5927\u304d\u3055\u3092\u6307\u5b9a\u3057\u305f\u304f\u3089\u3044\u3067\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code>.out_box {\n    position: relative;\n    height: 150px; \n    background-color: aqua;\n}\n\n.out_box .position {\n    position: absolute;\n    right: 0;\n    bottom: 0;\n    background-color: blueviolet;\n}\n\n.out_box .flex-box {\n    display: flex;\n    align-items: center;\n    gap: 10px;\n    color: #ffffff;\n}\n\n.out_box .flex-box img {\n    height: 20px;\n    width: 20px;\n}<\/code><\/pre><\/div>\n\n\n\n<p><strong>\u7d50\u679c<\/strong><\/p>\n\n\n\n<style>\n.out_box-02 {\n    position: relative;\n    height: 150px; \n    background-color: aqua;\n}\n\n.out_box-02 .position {\n    position: absolute;\n    right: 0;\n    bottom: 0;\n    background-color: blueviolet;\n}\n\n.out_box-02 .flex-box {\n    display: flex;\n    align-items: center;\n    gap: 10px;\n    color: #ffffff;\n}\n\n.out_box-02 .flex-box img {\n    height: 18px;\n    width: 18px;\n}\n<\/style>\n    <div class=\"out_box-02\">\n        <div class=\"position flex-box\">\n            <img decoding=\"async\" src=\"https:\/\/dennie.tokyo\/it\/demo_img\/good_icon.png\"> <span>100<\/span>\n        <\/div>\n    <\/div>\n\n\n\n<h1 class=\"wp-block-heading\">\u6700\u5f8c\u306b<\/h1>\n\n\n\n<p>\u7279\u306b\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u5b57\u3092\u53f3\u4e0b\u5bc4\u305b\u306b\u3057\u305f\u3044\u6642\u306e\u5099\u5fd8\u9332\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n","protected":false},"author":1,"featured_media":4723,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-4307","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-css"],"_links":{"self":[{"href":"https:\/\/dennie.tokyo\/it\/index.php?rest_route=\/wp\/v2\/posts\/4307","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dennie.tokyo\/it\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dennie.tokyo\/it\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dennie.tokyo\/it\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dennie.tokyo\/it\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4307"}],"version-history":[{"count":11,"href":"https:\/\/dennie.tokyo\/it\/index.php?rest_route=\/wp\/v2\/posts\/4307\/revisions"}],"predecessor-version":[{"id":5319,"href":"https:\/\/dennie.tokyo\/it\/index.php?rest_route=\/wp\/v2\/posts\/4307\/revisions\/5319"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dennie.tokyo\/it\/index.php?rest_route=\/wp\/v2\/media\/4723"}],"wp:attachment":[{"href":"https:\/\/dennie.tokyo\/it\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4307"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dennie.tokyo\/it\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4307"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dennie.tokyo\/it\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4307"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}