{"id":375,"date":"2017-06-11T22:30:00","date_gmt":"2017-06-11T13:30:00","guid":{"rendered":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/blog\/2017\/06\/11\/layout_block_objects"},"modified":"2017-06-11T22:30:00","modified_gmt":"2017-06-11T13:30:00","slug":"layout_block_objects","status":"publish","type":"post","link":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/blog\/2017\/06\/11\/layout_block_objects\/","title":{"rendered":"\u30d6\u30ed\u30c3\u30af\u8981\u7d20\u306e\u30ea\u30b9\u30c8\u306e\u914d\u7f6e\u306b\u3064\u3044\u3066"},"content":{"rendered":"

\u5f0a\u793e\u30b3\u30fc\u30dd\u30ec\u30fc\u30c8\u30b5\u30a4\u30c8\u306e\u30c7\u30b6\u30a4\u30f3\u30fb\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u62c5\u5f53\u306e\u6c60\u5cf6\u3067\u3059\u3002
\n\u3053\u306e\u8077\u7a2e\u306f\u304b\u308c\u3053\u308c\u5341\u6570\u5e74\u306b\u306a\u308a\u307e\u3059\u304c\u3001\u7d76\u3048\u305a\u7d9a\u304f\u6280\u8853\u306e\u9032\u6b69\u306b\u3001\u5fc5\u6b7b\u306b\u3064\u3044\u3066\u884c\u3053\u3046\u3068\u9811\u5f35\u3063\u3066\u304a\u308a\u307e\u3059\u3002<\/p>\n

\u3055\u3066\u3001\u4eca\u56de\u306f\u3001\u30d6\u30ed\u30c3\u30af\u8981\u7d20\u304c\u96c6\u307e\u3063\u305f\u30ea\u30b9\u30c8\u306e\u914d\u7f6e\u306e\u4ed5\u65b9\u3092\u3001\u3044\u307e\u3055\u3089\u611f\u306f\u3042\u308a\u307e\u3059\u304c\u3001\u30e1\u30e2\u4ee3\u308f\u308a\u306b\u66f8\u3044\u3066\u304a\u3053\u3046\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n

float \u3092\u4f7f\u3046<\/h2>\n

\u6614\u304b\u3089\u3042\u308b\u3084\u308a\u65b9\u3067\u3059\u3002\u5de6\u5bc4\u305b\u3001\u53f3\u5bc4\u305b\u306e\u307f\u3067\u3001\u4e2d\u592e\u5bc4\u305b\u306f\u3067\u304d\u307e\u305b\u3093\u3002
\n\"\"<\/p>\n

HTML<\/strong><\/p>\n

<ul class="list1">\n  <li class="list1__item">\n    <div class="box--1">\u30d6\u30ed\u30c3\u30af\uff11<\/div>\n  <\/li>\n  <li class="list1__item">\n    <div class="box--1">\u30d6\u30ed\u30c3\u30af\uff12<\/div>\n  <\/li>\n  <li class="list1__item">\n    <div class="box--1">\u30d6\u30ed\u30c3\u30af\uff13<\/div>\n  <\/li>\n    \u30fb\n   \uff08\u7565\uff09\n    \u30fb\n<\/ul><\/code><\/pre>\n

CSS<\/strong><\/p>\n

.list1 {\n  margin: 30px auto;\n  padding: 0;\n  width: 80%;\n  list-style-type: none;\n  background: #ececec;\n  overflow: hidden;\n}\n.list1__item {\n  float: left;\n  margin: 0 10px 10px 0;\n  padding: 0;\n}<\/code><\/pre>\n

.list1__item<\/code> \u306e float \u3092 right \u306b\u3059\u308b\u3068\u3001\u53f3\u304b\u3089\u9806\u306b\u4e26\u3073\u307e\u3059\u3002
\n\"\"<\/p>\n

\u8981\u7d20\u306e\u9ad8\u3055\u304c\u9055\u3063\u3066\u3044\u308b\u3068\u3001\u6298\u308a\u8fd4\u3057\u304c\u5909\u306a\u3053\u3068\u306b\u306a\u308b\u306e\u3067\u3001\u3053\u3046\u3044\u3046\u30d1\u30bf\u30fc\u30f3\u3067\u306f\u30aa\u30b9\u30b9\u30e1\u3067\u304d\u307e\u305b\u3093\u3002
\n\"\"<\/p>\n

inline-block \u3092\u4f7f\u3046<\/h2>\n

li<\/code> \u3092inline\u8981\u7d20\u3068\u3057\u3066\u6271\u3044\u307e\u3059\u3002\u4e2d\u592e\u5bc4\u305b\u3082\u53ef\u80fd\u3067\u3059\u3002
\n\u6539\u884c\u304c\u30b9\u30da\u30fc\u30b9\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u306e\u3067\u3001font-size: 0;<\/code> \u3092\u8a18\u8ff0\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002
\n\u5185\u5305\u3059\u308b div<\/code> \u3067 font-size<\/code> \u306e\u6307\u5b9a\u3092\u304a\u5fd8\u308c\u306a\u304f\u3002<\/p>\n

\"\"<\/p>\n

CSS<\/strong><\/p>\n

.list2 {\n  margin: 30px auto;\n  padding: 0;\n  width: 80%;\n  list-style-type: none;\n  background: #ececec;\n  font-size: 0;\n}\n.list2__item {\n  display: inline-block;\n  margin: 0;\n  padding: 5px;\n}<\/code><\/pre>\n

float<\/code> \u3092\u4f7f\u3046\u3068\u5d29\u308c\u3066\u3057\u307e\u3063\u3066\u3044\u305f\u4e26\u3073\u3082\u3001\u3053\u308c\u306a\u3089\u5927\u4e08\u592b\u3067\u3059\u306d\u3002
\n\"\"<\/p>\n

.list2<\/code> \u306b\u3000text-align<\/code> \u3092\u8a2d\u5b9a\u3059\u308b\u3068\u3001\u4e2d\u592e\u5bc4\u305b\u3001\u53f3\u5bc4\u305b\u304c\u3067\u304d\u307e\u3059\u3002
\n\"\"<\/p>\n

float \u306e\u6642\u3068\u306f\u9055\u3063\u3066\u3001\u53f3\u5bc4\u305b\u3067\u3082\u5de6\u304b\u3089\u9806\u306b\u914d\u7f6e\u3055\u308c\u307e\u3059\u3002
\n\"\"<\/p>\n

flexbox \u3092\u4f7f\u3046<\/h2>\n

CSS3\u304b\u3089\u767b\u5834\u306e\u3001flexbox<\/code> \u3092\u4f7f\u3063\u3066\u307f\u307e\u3059\u3002
\n\u5185\u5305\u3059\u308b div \u306e\u5e45\u304c\u56fa\u5b9a\u306a\u306e\u3067\u3001\u81ea\u52d5\u3067\u6298\u308a\u8fd4\u3059\u3088\u3046\u306b flex-wrap: wrap;<\/code> \u3092\u8a2d\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002
\n\u5de6\u53f3\u65b9\u5411\u306e\u63c3\u3048\u65b9\u3060\u3051\u3067\u306a\u304f\u3001\u4e0a\u4e0b\u65b9\u5411\u3082\u6307\u5b9a\u3067\u304d\u305f\u308a\u3068\u3001\u30ec\u30a4\u30a2\u30a6\u30c8\u306e\u5e45\u304c\u5e83\u304c\u308a\u307e\u3059\u3002<\/p>\n

\"\"<\/p>\n

CSS<\/strong><\/p>\n

.list3 {\n  margin: 30px auto;\n  padding: 0;\n  width: 80%;\n  list-style-type: none;\n  background: #ececec;\n  display: flex;\n  flex-wrap: wrap;\n}\n.list3__item {\n  margin: 0;\n  padding: 5px;\n}<\/code><\/pre>\n

flex-direction: row-reverse;<\/code> \u306b\u3059\u308b\u3068\u53f3\u304b\u3089\u5de6\u306b\u3001
\n\"\"<\/p>\n

justify-content: flex-end;<\/code> \u3092\u8a2d\u5b9a\u3059\u308b\u3068\u3001\u5de6\u304b\u3089\u914d\u7f6e\u3055\u308c\u3064\u3064\u53f3\u5bc4\u305b\u306b\u306a\u308a\u307e\u3059\u3002
\n\"\"<\/p>\n

\u307e\u305f\u3001justify-content: center;<\/code> \u3067\u4e2d\u592e\u5bc4\u305b\u306b\u306a\u308a\u307e\u3059\u3002
\n\"\"<\/p>\n

justify-content: space-between;<\/code> \u3067\u3001\u5747\u7b49\u914d\u7f6e\u3082\u3002
\n\"\"<\/p>\n

\u5185\u5305\u3059\u308b\u30d6\u30ed\u30c3\u30af\u306e\u9ad8\u3055\u304c\u305d\u308c\u305e\u308c\u7570\u306a\u308b\u5834\u5408\u306f\u3001\u4e0a\u4e0b\u914d\u7f6e\u3082\u8a2d\u5b9a\u3067\u304d\u307e\u3059\u3002
\nalign-items: center;<\/code> \u3067\u4e2d\u592e\u63c3\u3048\u306b\u3001
\n\"\"<\/p>\n

align-items: flex-end;<\/code> \u3067\u4e0b\u63c3\u3048\u306b\u306a\u308a\u307e\u3059\u3002
\n\"\"<\/p>\n

\u3055\u3044\u3054\u306b<\/h2>\n

\u4f5c\u308a\u305f\u3044\u30c7\u30b6\u30a4\u30f3\u3068\u3001\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u3067\u5b9f\u73fe\u3067\u304d\u308b\u304b\u306e\u305b\u3081\u304e\u5408\u3044\u3067\u60a9\u3080\u3053\u3068\u3082\u3002
\nHTML\u3084CSS\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u4e0a\u304c\u308b\u306b\u5f93\u3044\u3001\u30c7\u30b6\u30a4\u30f3\u306e\u5b9f\u73fe\u53ef\u80fd\u6027\u304c\u4e0a\u304c\u3063\u3066\u304d\u307e\u3057\u305f\u3002<\/p>\n

\u3053\u308c\u304b\u3089\u3082\u3001\u9ad8\u3044\u30e6\u30fc\u30b6\u30fc\u30d3\u30ea\u30c6\u30a3\u30fc\u3068\u9b45\u529b\u306e\u3042\u308b\u30c7\u30b6\u30a4\u30f3\u3068\u3001\u52b9\u7387\u7684\u3067\u6c4e\u7528\u6027\u306e\u9ad8\u3044\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306e\u72ed\u9593\u3067\u3001\u8a66\u884c\u932f\u8aa4\u306e\u65e5\u3005\u306f\u7d9a\u304d\u307e\u3059\u3002<\/p>\n

\uff0a UI\u8a2d\u8a08\u30fb\u30c7\u30b6\u30a4\u30f3\u304b\u3089\u958b\u767a\u307e\u3067\u3001\u4e38\u3054\u3068MMM\u306b\u304a\u4efb\u305b\u3092\u3002<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"

\u5f0a\u793e\u30b3\u30fc\u30dd\u30ec\u30fc\u30c8\u30b5\u30a4\u30c8\u306e\u30c7\u30b6\u30a4\u30f3\u30fb\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u62c5\u5f53\u306e\u6c60\u5cf6\u3067\u3059\u3002 \u3053\u306e\u8077\u7a2e\u306f\u304b\u308c\u3053\u308c\u5341\u6570\u5e74\u306b\u306a\u308a\u307e\u3059\u304c\u3001\u7d76\u3048\u305a\u7d9a\u304f\u6280\u8853\u306e\u9032\u6b69\u306b\u3001\u5fc5\u6b7b\u306b\u3064\u3044\u3066\u884c\u3053\u3046\u3068\u9811\u5f35\u3063\u3066\u304a\u308a\u307e\u3059\u3002 \u3055\u3066\u3001\u4eca\u56de\u306f\u3001\u30d6\u30ed\u30c3\u30af\u8981\u7d20\u304c\u96c6\u307e\u3063\u305f\u30ea\u30b9\u30c8\u306e\u914d\u7f6e\u306e\u4ed5\u65b9\u3092\u3001\u3044\u307e\u3055\u3089\u611f\u306f\u3042\u308a\u307e\u3059\u304c\u3001\u30e1\u30e2\u4ee3\u308f\u308a\u306b\u66f8\u3044\u3066\u304a\u3053\u3046\u304b\u3068\u601d\u3044\u307e\u3059\u3002 float \u3092\u4f7f\u3046 \u6614\u304b\u3089\u3042\u308b\u3084\u308a\u65b9\u3067\u3059\u3002\u5de6\u5bc4\u305b\u3001\u53f3\u5bc4\u305b\u306e\u307f\u3067\u3001\u4e2d\u592e\u5bc4\u305b\u306f\u3067\u304d\u307e\u305b\u3093\u3002 HTML <ul […]<\/p>\n","protected":false},"author":1,"featured_media":826,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[10],"tags":[160],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/wp-json\/wp\/v2\/posts\/375"}],"collection":[{"href":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/wp-json\/wp\/v2\/comments?post=375"}],"version-history":[{"count":0,"href":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/wp-json\/wp\/v2\/posts\/375\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/wp-json\/wp\/v2\/media\/826"}],"wp:attachment":[{"href":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/wp-json\/wp\/v2\/media?parent=375"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/wp-json\/wp\/v2\/categories?post=375"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/wp-json\/wp\/v2\/tags?post=375"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}