{"id":893,"date":"2016-02-18T08:24:09","date_gmt":"2016-02-17T23:24:09","guid":{"rendered":"http:\/\/makotohiroshige.com\/pclab\/?page_id=893"},"modified":"2016-02-18T08:24:09","modified_gmt":"2016-02-17T23:24:09","slug":"%e3%83%95%e3%83%ad%e3%83%bc%e3%83%88%e3%81%ae%e8%a7%a3%e9%99%a4%e5%90%abclearfix","status":"publish","type":"page","link":"http:\/\/pclab.makotohiroshige.com\/?page_id=893","title":{"rendered":"\u30d5\u30ed\u30fc\u30c8\u306e\u89e3\u9664\u3068clearfix"},"content":{"rendered":"<p>\u30d5\u30ed\u30fc\u30c8\u3092\u89e3\u9664\u3059\u308b\u65b9\u6cd5\u306b\u306f\u3044\u304f\u3064\u304b\u3042\u308b\u3002<\/p>\n<h3>clear: both;<\/h3>\n<p>\u30d5\u30ed\u30fc\u30c8\u3092\u89e3\u9664\u3057\u305f\u3044\u4f4d\u7f6e\u306e\u30d6\u30ed\u30c3\u30af\u30ec\u30d9\u30eb\u8981\u7d20\u306b\u6307\u5b9a\u3059\u308b\u3002<\/p>\n<h3>overflow : hidden;<\/h3>\n<p>\u30d5\u30ed\u30fc\u30c8\u3092\u542b\u3093\u3067\u3044\u308b\u89aa\u8981\u7d20\u306b\u3001overflow : hidden; \u3082\u3057\u304f\u306f overflow : auto; \u3092\u6307\u5b9a\u3059\u308b\u3002\u89aa\u8981\u7d20\u306e\u9ad8\u3055\u304c\u3001\u30d5\u30ed\u30fc\u30c8\u5168\u4f53\u3092\u542b\u3080\u3088\u3046\u306b\u62e1\u5f35\u3055\u308c\u308b\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u30d5\u30ed\u30fc\u30c8\u3092\u89e3\u9664\u3057\u305f\u3068\u304d\u3068\u540c\u3058\u52b9\u679c\u3092\u5f97\u308b\u3002<\/p>\n<h3>\u7591\u4f3c\u8981\u7d20 ::after \u3068 clearfix<\/h3>\n<p>::after \u7591\u4f3c\u8981\u7d20\u306b\u3088\u308a\u3001\u30d5\u30ed\u30fc\u30c8\u3092\u542b\u3080\u89aa\u8981\u7d20\u306e\u6700\u5f8c\u306b content \u30d7\u30ed\u30d1\u30c6\u30a3\u3068 display \u30d7\u30ed\u30d1\u30c6\u30a3\u3067\u30d6\u30ed\u30c3\u30af\u30ec\u30d9\u30eb\u8981\u7d20\u3092\u751f\u6210\u3055\u305b\u3001\u305d\u3053\u306b clear \u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u6307\u5b9a\u3057\u3066\u30d5\u30ed\u30fc\u30c8\u3092\u89e3\u9664\u3055\u305b\u308b\u65b9\u6cd5\u3002<\/p>\n<pre>\n#page::after {\n  content: \"\";\n  display: block;\n  clear: both;\n}\n<\/pre>\n<p>\u3053\u306e\u6307\u5b9a\u3060\u3051\u3092\u884c\u3046\u30af\u30e9\u30b9\u3092\u4f5c\u308a\u3001\u5fc5\u8981\u306a\u90e8\u5206\u306b\u305d\u306e\u30af\u30e9\u30b9\u3082\u8ffd\u52a0\u6307\u5b9a\u3057\u3066\u3001\u30d5\u30ed\u30fc\u30c8\u306e\u89e3\u9664\u3092\u884c\u3046\u65b9\u6cd5\u304c\u3088\u304f\u884c\u308f\u308c\u308b\u3002<\/p>\n<pre>\n.clearfix::after {\n  content: \"\";\n  display: block;\n  clear: both;\n}\n<\/pre>\n<pre>\n&lt;footer class=\"clearfix\"&gt;\u2026 \u2026 \u2026 &lt;\/footer&gt;\n\n&lt;div class=\"aaa clearfix\"&gt;\u2026 \u2026 \u2026 &lt;\/div&gt;\n\n&lt;div id=\"page\" class=\"clearfix\"&gt;\u2026 \u2026 \u2026 &lt;\/div&gt;\n\netc, etc,.\n<\/pre>\n<p>\u304b\u3064\u3066\u306e\u53e4\u3044\u30d6\u30e9\u30a6\u30b6\u3067\u306f\u3001\u4e0a\u8a18\u306e\u6307\u5b9a\u3060\u3051\u3067\u306f\u3046\u307e\u304f\u3044\u304b\u305a\u3001\u3055\u307e\u3056\u307e\u306a\u30c8\u30ea\u30c3\u30ad\u30fc\u306a\u624b\u6cd5\u304c\u7de8\u307f\u51fa\u3055\u308c\u3001\u3053\u306e\u300c\u30d5\u30ed\u30fc\u30c8\u89e3\u9664\u7528\u306e\u7279\u5225\u30af\u30e9\u30b9\u300d\u306b\u8a18\u8ff0\u3055\u308c\u3066\u4f7f\u308f\u308c\u3066\u304d\u305f\u3002\u3053\u308c\u306f\u300cclearfix\u300d\u3068\u547c\u3070\u308c\u305f\u3002<\/p>\n<p>\u73fe\u5728\u306f\u591a\u304f\u306e\u30d6\u30e9\u30a6\u30b6\u3067 CSS \u306b\u304d\u3061\u3093\u3068\u5bfe\u5fdc\u3059\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u305f\u3081\u306b\u3001clearfix \u306e\u8a18\u8ff0\u306f\u4e0a\u8a18\u306e\u3088\u3046\u306a\u30b7\u30f3\u30d7\u30eb\u306a\u3082\u306e\u306b\u306a\u308a\u3064\u3064\u3042\u308b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30d5\u30ed\u30fc\u30c8\u3092\u89e3\u9664\u3059\u308b\u65b9\u6cd5\u306b\u306f\u3044\u304f\u3064\u304b\u3042\u308b\u3002 clear: both; \u30d5\u30ed\u30fc\u30c8\u3092\u89e3\u9664\u3057\u305f\u3044\u4f4d\u7f6e\u306e\u30d6\u30ed\u30c3\u30af\u30ec\u30d9\u30eb\u8981\u7d20\u306b\u6307\u5b9a\u3059\u308b\u3002 overflow : hidden; \u30d5\u30ed\u30fc\u30c8\u3092\u542b\u3093\u3067\u3044\u308b\u89aa\u8981\u7d20\u306b\u3001overflow : hi [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":739,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-893","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"http:\/\/pclab.makotohiroshige.com\/index.php?rest_route=\/wp\/v2\/pages\/893","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/pclab.makotohiroshige.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/pclab.makotohiroshige.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/pclab.makotohiroshige.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/pclab.makotohiroshige.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=893"}],"version-history":[{"count":0,"href":"http:\/\/pclab.makotohiroshige.com\/index.php?rest_route=\/wp\/v2\/pages\/893\/revisions"}],"up":[{"embeddable":true,"href":"http:\/\/pclab.makotohiroshige.com\/index.php?rest_route=\/wp\/v2\/pages\/739"}],"wp:attachment":[{"href":"http:\/\/pclab.makotohiroshige.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=893"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}