{"id":9037,"date":"2020-01-01T16:48:49","date_gmt":"2020-01-01T07:48:49","guid":{"rendered":"http:\/\/www.code-magagine.com\/?p=9037"},"modified":"2023-05-27T18:28:01","modified_gmt":"2023-05-27T09:28:01","slug":"%e3%80%90bootstrap%e3%80%91%e3%83%87%e3%82%a3%e3%82%b9%e3%83%97%e3%83%ac%e3%82%a4%e3%83%a6%e3%83%bc%e3%83%86%e3%82%a3%e3%83%aa%e3%83%86%e3%82%a3%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6","status":"publish","type":"post","link":"http:\/\/www.code-magagine.com\/?p=9037","title":{"rendered":"\u3010Bootstrap\u3011\u300c\u30ec\u30a4\u30a2\u30a6\u30c8\u300d\u306e\u57fa\u672c\u3001\u300c\u30b9\u30da\u30fc\u30b7\u30f3\u30b0\uff08\u4f59\u767d\uff09\u300d\u3001\u300c\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3\u300d\u3001\u300c\u30b5\u30a4\u30b8\u30f3\u30b0\u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3\u300d\u306b\u3064\u3044\u3066"},"content":{"rendered":"<h2>\u30ec\u30a4\u30a2\u30a6\u30c8\u306e\u57fa\u672c<\/h2>\n<p>BootStrap\u306b\u304a\u3044\u3066\u30ec\u30a4\u30a2\u30a6\u30c8\u3092\u3059\u308b\u969b\u306b\u62bc\u3055\u3048\u3066\u304a\u3044\u305f\u65b9\u304c\u77e5\u8b58\u3092\u307e\u3068\u3081\u307e\u3059\u3002\u4e3b\u306b\u4e0b\u8a183\u3064\u306e\u6982\u5ff5\u304c\u91cd\u8981\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u30b3\u30f3\u30c6\u30ca<\/li>\n<li>\u30b0\u30ea\u30c3\u30c9\u30b7\u30b9\u30c6\u30e0<\/li>\n<li>\u30d6\u30ec\u30a4\u30af\u30dd\u30a4\u30f3\u30c8<\/li>\n<\/ul>\n<h3>\u30b3\u30f3\u30c6\u30ca<\/h3>\n<p>BootStrap\u306e\u6700\u3082\u57fa\u672c\u7684\u306a\u8981\u7d20\u3067\u3059\u3002\u30b0\u30ea\u30c3\u30c9\u30b7\u30b9\u30c6\u30e0\u3092\u4f7f\u3046\u5834\u5408BODY\u306e\u76f4\u4e0b\u306b\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<h4>\u30b3\u30f3\u30c6\u30ca\u306e\u7a2e\u985e<\/h4>\n<h5>\u56fa\u5b9a\u5e45\u30b3\u30f3\u30c6\u30ca(container)<\/h5>\n<p>\u5e45\u304c\u57fa\u672c\u7684\u306b\u56fa\u5b9a\u3060\u304c\u3001\u30d6\u30ec\u30a4\u30af\u30dd\u30a4\u30f3\u30c8\u3067\u5e45\u306f\u5909\u5316\u3055\u305b\u308c\u307e\u3059\u3002\u30d6\u30ec\u30a4\u30af\u30dd\u30a4\u30f3\u30c8\u306b\u3064\u3044\u3066\u306f\u5f8c\u8ff0\u3057\u307e\u3059\u3002<\/p>\n<h5>\u53ef\u5909\u5e45\u30b3\u30f3\u30c6\u30ca(container-fluid)<\/h5>\n<p>\u5e38\u306b\u30d6\u30e9\u30a6\u30b6\u306e\u5e45\u3044\u3063\u3071\u3044\u306b\u5e83\u304c\u308b\u7bb1\u3067\u3059\u3002\u753b\u9762\u5168\u4f53\u3092\u4f7f\u3063\u305f\u30b3\u30f3\u30c6\u30f3\u30c4\u306b\u6709\u52b9\u3067\u3059\u3002<\/p>\n<h3>\u30b0\u30ea\u30c3\u30c9\u30b7\u30b9\u30c6\u30e0<\/h3>\n<p>\u6a2a\u5e4512\u5206\u5272\u3067\u69cb\u6210\u3059\u308b\u4ed5\u7d44\u307f\u3067\u3059\u3002row\u30af\u30e9\u30b9\u306ediv\u306e\u4e2d\u306bcol\u30af\u30e9\u30b9\u306ediv\u3092\u914d\u7f6e\u3057\u3066\u3044\u304d\u307e\u3059\u3002col\u30af\u30e9\u30b9\u306f12\u3092\u5206\u5272\u3057\u305f\u3044\u6570\u5206\u3060\u3051\u4e26\u3079\u3066\u4f7f\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true\">&lt;div class=\"row\"&gt;\r\n  &lt;div class=\"col\"&gt;A&lt;\/div&gt;\r\n  &lt;div class=\"col\"&gt;B&lt;\/div&gt;\r\n  &lt;div class=\"col\"&gt;C&lt;\/div&gt;\r\n&lt;\/div&gt;<\/pre>\n<p>col-N\u30af\u30e9\u30b9\u3092\u4f7f\u3046\u3068\u5177\u4f53\u7684\u306b\u5e45\u306e\u30b5\u30a4\u30ba\u3092\u6307\u5b9a\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true\">&lt;div class=\"row\"&gt;\r\n  &lt;div class=\"col-5\"&gt;A&lt;\/div&gt;\r\n  &lt;div class=\"col-7\"&gt;B&lt;\/div&gt;\r\n&lt;\/div&gt;<\/pre>\n<h3>\u30d6\u30ec\u30a4\u30af\u30dd\u30a4\u30f3\u30c8<\/h3>\n<p>\u30ec\u30b9\u30dd\u30b7\u30d6\u306b\u8907\u6570\u30c7\u30d0\u30a4\u30b9\u3092\u5207\u308a\u66ff\u3048\u308b\u305f\u3081\u306b\u7279\u5b9a\u306e\u753b\u9762\u5e45\u3067\u8868\u793a\u65b9\u6cd5\u3092\u5207\u308a\u66ff\u3048\u308b\u305f\u3081\u306e\u624b\u6cd5\u3067\u3059\u3002BootStrap4\u3067\u306f\u4e0b\u8a184\u3064\u306e\u5883\u76ee\u3092\u5b9a\u7fa9\u3057\u3066\u3044\u307e\u3059\u3002\u307e\u305f\u30b0\u30ea\u30c3\u30c9\u30b7\u30b9\u30c6\u30e0\u306e\u969b\u306e\u5206\u5272\u306b\u4f7f\u7528\u3057\u305f\u300ccol-N\u30af\u30e9\u30b9\u300d\u3067\u3059\u304c\u6a2a\u8868\u793a\uff08PC\u7528\uff09\u3068\u7e26\u8868\u793a\uff08\u30b9\u30de\u30db\u7528\uff09\u3092\u5207\u308a\u66ff\u3048\u308b\u5883\u76ee\u3092\u6307\u5b9a\u3059\u308b\u30af\u30e9\u30b9\u304c\u5225\u9014\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002\uff08\u4f8b\u3048\u3070\u3001768px\u4ee5\u4e0a\u306f\u5168\u3066\u6a2a\u8868\u793a\u3068\u3059\u308bcol-md-N\u30af\u30e9\u30b9\u7b49\uff09<\/p>\n<ul>\n<li>576px<\/li>\n<li>768px<\/li>\n<li>992px<\/li>\n<li>1200px<\/li>\n<\/ul>\n<h4>\u301c575px(Extra Small)<\/h4>\n<p>\u60f3\u5b9a\u30c7\u30d0\u30a4\u30b9\u306f\u306a\u3057\u3002\u5c0f\u578b\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u3001\u30af\u30e9\u30b9\u63a5\u982d\u8f9e\u306f<span style=\"color: #ff0000;\"><strong>\u300ccol-\u6570\u5b57\u300d<\/strong><\/span>\u3092\u4f7f\u3046\u3002<\/p>\n<h4>576px\u301c767px(Small)<\/h4>\n<p>\u30b9\u30de\u30db\u3092\u60f3\u5b9a\u3001\u30af\u30e9\u30b9\u63a5\u982d\u8f9e\u306f<span style=\"color: #ff0000;\"><strong>\u300ccol-sm-\u6570\u5b57\u300d<\/strong><\/span>\u3092\u4f7f\u3046\u3002<\/p>\n<h4>768px\u301c991px(Medium)<\/h4>\n<p>\u30bf\u30d6\u30ec\u30c3\u30c8\u3092\u60f3\u5b9a\u3001\u30af\u30e9\u30b9\u63a5\u982d\u8f9e\u306f<span style=\"color: #ff0000;\"><strong>\u300ccol-md-\u6570\u5b57\u300d<\/strong><\/span>\u3092\u4f7f\u3046\u3002<\/p>\n<h4>992px\u301c1199px(Large)<\/h4>\n<p>PC\u3092\u60f3\u5b9a\u3001\u30af\u30e9\u30b9\u63a5\u982d\u8f9e\u306f<span style=\"color: #ff0000;\"><strong>\u300ccol-lg-\u6570\u5b57\u300d<\/strong><\/span>\u3092\u4f7f\u3046\u3002<\/p>\n<h4>1200px\u301c(Extra Large)<\/h4>\n<p>\u5927\u578b\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u3092\u60f3\u5b9a\u3001\u30af\u30e9\u30b9\u63a5\u982d\u8f9e\u306f<span style=\"color: #ff0000;\"><strong>\u300ccol-xl-\u6570\u5b57\u300d<\/strong><\/span>\u3092\u4f7f\u3046\u3002<\/p>\n<h2>\u30b9\u30da\u30fc\u30b7\u30f3\u30b0\uff08\u4f59\u767d\uff09<\/h2>\n<p>\u4e0b\u8a18\u306e\u66f8\u5f0f\u3067\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true\">[property][sides]-[size]<\/pre>\n<h3>property<\/h3>\n<p>CSS\u306e\u30de\u30fc\u30b8\u30f3\uff08\u5916\u4f59\u767d\uff09\u304b\u30d1\u30c7\u30a3\u30f3\u30b0\uff08\u5185\u4f59\u767d\uff09\u304b\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<table>\n<tbody>\n<tr>\n<th>\u8a18\u53f7<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<tr>\n<td>m<\/td>\n<td>\u30de\u30fc\u30b8\u30f3<\/td>\n<\/tr>\n<tr>\n<td>p<\/td>\n<td>\u30d1\u30c7\u30a3\u30f3\u30b0<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>sides<\/h3>\n<p>\u8a2d\u5b9a\u3059\u308b\u8fba\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<table>\n<tbody>\n<tr>\n<th>\u8a18\u53f7<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<tr>\n<td>\u306a\u3057<\/td>\n<td>4\u8fba\u5168\u3066<\/td>\n<\/tr>\n<tr>\n<td>t<\/td>\n<td>\u4e0a\u8fba<\/td>\n<\/tr>\n<tr>\n<td>b<\/td>\n<td>\u4e0b\u8fba<\/td>\n<\/tr>\n<tr>\n<td>l<\/td>\n<td>\u5de6\u8fba<\/td>\n<\/tr>\n<tr>\n<td>r<\/td>\n<td>\u53f3\u8fba<\/td>\n<\/tr>\n<tr>\n<td>x<\/td>\n<td>\u5de6\u8fba\u3068\u53f3\u8fba<\/td>\n<\/tr>\n<tr>\n<td>y<\/td>\n<td>\u4e0a\u8fba\u3068\u4e0b\u8fba<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>size<\/h3>\n<p>\u4f59\u767d\u306e\u5e45\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<table>\n<tbody>\n<tr>\n<th>\u8a18\u53f7<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<tr>\n<td>0<\/td>\n<td>0rem<\/td>\n<\/tr>\n<tr>\n<td>1<\/td>\n<td>0.25rem<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>0.5rem<\/td>\n<\/tr>\n<tr>\n<td>3<\/td>\n<td>1rem<\/td>\n<\/tr>\n<tr>\n<td>4<\/td>\n<td>1.5rem<\/td>\n<\/tr>\n<tr>\n<td>5<\/td>\n<td>3rem<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3\u3068\u306f\uff1f<\/h2>\n<p>Bootstrap\u3067\u306f\u753b\u9762\u30b5\u30a4\u30ba\u306b\u5fdc\u3058\u3066\u8981\u7d20\u306e\u8868\u793a\u5f62\u5f0f\u3092\u5909\u66f4\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u6a5f\u80fd\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<h3>\u8868\u8a18\u6cd5<\/h3>\n<p>\u4e8c\u3064\u306e\u8868\u8a18\u6cd5\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true\">d-[value]\r\nd-[breakpoint]-[value]<\/pre>\n<p>breakpoint\u3092\u6307\u5b9a\u3057\u305f\u5834\u5408\u306f\u6307\u5b9a\u3057\u305f\u30d6\u30ec\u30a4\u30af\u30dd\u30a4\u30f3\u30c8\u306e\u5e45\u4ee5\u4e0a\u306b\u9054\u3057\u305f\u969b\u306b\u8868\u793a\u5f62\u5f0f\u3092\u5909\u66f4\u3057\u307e\u3059\u3002<\/p>\n<h3>value<\/h3>\n<p>\u3053\u308c\u3089\u306fCSS\u306edisplay\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u5024\u306b\u76f8\u5f53\u3057\u307e\u3059\u3002<\/p>\n<table>\n<tbody>\n<tr>\n<th>\u8a18\u6cd5<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<tr>\n<td>none<\/td>\n<td>\u975e\u8868\u793a<\/td>\n<\/tr>\n<tr>\n<td>inline<\/td>\n<td>\u30a4\u30f3\u30e9\u30a4\u30f3\u8868\u793a<\/td>\n<\/tr>\n<tr>\n<td>inline-block<\/td>\n<td>\u30a4\u30f3\u30e9\u30a4\u30f3\u30d6\u30ed\u30c3\u30af\u8868\u793a<\/td>\n<\/tr>\n<tr>\n<td>block<\/td>\n<td>\u30d6\u30ed\u30c3\u30af\u8868\u793a<\/td>\n<\/tr>\n<tr>\n<td>table<\/td>\n<td>\u30c6\u30fc\u30d6\u30eb\u8868\u793a<\/td>\n<\/tr>\n<tr>\n<td>table-cell<\/td>\n<td>\u30c6\u30fc\u30d6\u30eb\u30bb\u30eb\u8868\u793a<\/td>\n<\/tr>\n<tr>\n<td>table-row<\/td>\n<td>\u30c6\u30fc\u30d6\u30eb\u884c\u8868\u793a<\/td>\n<\/tr>\n<tr>\n<td>flex<\/td>\n<td>flex\u30b3\u30f3\u30c6\u30ca\u8868\u793a<\/td>\n<\/tr>\n<tr>\n<td>inline-flex<\/td>\n<td>flex\u30a4\u30f3\u30e9\u30a4\u30f3\u30b3\u30f3\u30c6\u30ca\u8868\u793a<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>\u30b5\u30a4\u30b8\u30f3\u30b0\u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3\u3068\u306f\uff1f<\/h2>\n<p>\u8981\u7d20\u306e\u9ad8\u3055\u3084\u5e45\u3092\u6307\u5b9a\u3067\u304d\u308b\u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3\u3067\u3059\u3002<\/p>\n<h3>\u6307\u5b9a\u65b9\u6cd5<\/h3>\n<h4>\u6a2a\u5e45<\/h4>\n<h5>\u57fa\u672c<\/h5>\n<pre class=\"lang:default decode:true\">w-[\u30b5\u30a4\u30ba]<\/pre>\n<h4>\u6700\u5927\u5e45<\/h4>\n<p>\u753b\u50cf\u306e\u6a2a\u5e45\u304c\u30d6\u30e9\u30a6\u30b6\u306e\u6700\u5927\u30b5\u30a4\u30ba\u4ee5\u4e0a\u306b\u306a\u3063\u3066\u3044\u305f\u3068\u3057\u3066\u3082\u753b\u50cf\u304c\u6a2a\u5e45\u306b\u3074\u3063\u305f\u308a\u304f\u3063\u3064\u304d\u307e\u3059\u3002\u307e\u305f\u3001\u30d6\u30e9\u30a6\u30b6\u306e\u6a2a\u5e45\u3092\u72ed\u3081\u3066\u3082\u6a2a\u30b9\u30af\u30ed\u30fc\u30eb\u30d0\u30fc\u304c\u8868\u793a\u3055\u308c\u308b\u3053\u3068\u304c\u306a\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true\">mw-[\u30b5\u30a4\u30ba]<\/pre>\n<h3>\u7e26\u5e45<\/h3>\n<h4>\u57fa\u672c<\/h4>\n<pre class=\"lang:default decode:true\">h-[\u30b5\u30a4\u30ba]<\/pre>\n<h5>\u6700\u5927\u5e45<\/h5>\n<p>\u753b\u50cf\u7b49\u3092\u6307\u5b9a\u3057\u305f\u5834\u5408\u306f\u753b\u50cf\u306e\u9ad8\u3055\u304c\u89aa\u8981\u7d20\u306e\u9ad8\u3055\u306b\u8ffd\u5f93\u3057\u305f\u9ad8\u3055\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true \">mh-[\u30b5\u30a4\u30ba]<\/pre>\n<h3>\u6307\u5b9a\u3067\u304d\u308b\u30b5\u30a4\u30ba<\/h3>\n<table>\n<tbody>\n<tr>\n<th>\u5e45<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<tr>\n<td>25<\/td>\n<td>25%\u306e\u5e45<\/td>\n<\/tr>\n<tr>\n<td>50<\/td>\n<td>50%\u306e\u5e45<\/td>\n<\/tr>\n<tr>\n<td>75<\/td>\n<td>75%\u306e\u5e45<\/td>\n<\/tr>\n<tr>\n<td>100<\/td>\n<td>100%\u306e\u5e45<\/td>\n<\/tr>\n<tr>\n<td>auto<\/td>\n<td>\u81ea\u52d5\u7b97\u51fa\u3057\u305f\u5e45<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"\u30ec\u30a4\u30a2\u30a6\u30c8\u306e\u57fa\u672c BootStrap\u306b\u304a\u3044\u3066\u30ec\u30a4\u30a2\u30a6\u30c8\u3092\u3059\u308b\u969b\u306b\u62bc\u3055\u3048\u3066\u304a\u3044\u305f\u65b9\u304c\u77e5\u8b58\u3092\u307e\u3068\u3081\u307e\u3059\u3002\u4e3b\u306b\u4e0b\u8a183\u3064\u306e\u6982\u5ff5\u304c\u91cd\u8981\u306b\u306a\u308a\u307e\u3059\u3002 \u30b3\u30f3\u30c6\u30ca \u30b0\u30ea\u30c3\u30c9\u30b7\u30b9\u30c6\u30e0 \u30d6\u30ec\u30a4\u30af\u30dd\u30a4\u30f3\u30c8 \u30b3\u30f3\u30c6\u30ca BootStrap\u306e\u6700\u3082\u57fa [&hellip;]","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[64],"tags":[],"_links":{"self":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts\/9037"}],"collection":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9037"}],"version-history":[{"count":10,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts\/9037\/revisions"}],"predecessor-version":[{"id":20141,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts\/9037\/revisions\/20141"}],"wp:attachment":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9037"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9037"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9037"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}