{"id":4900,"date":"2019-11-29T15:38:43","date_gmt":"2019-11-29T06:38:43","guid":{"rendered":"http:\/\/www.otwo.jp\/blog\/?p=4900"},"modified":"2019-11-29T15:38:43","modified_gmt":"2019-11-29T06:38:43","slug":"css-modal","status":"publish","type":"post","link":"https:\/\/www.otwo.jp\/blog\/css-modal\/","title":{"rendered":"\u30e2\u30fc\u30c0\u30eb\u3092CSS\u3060\u3051\u3067\u5b9f\u88c5\u3057\u3066\u307f\u3066\u601d\u3063\u305f\u4e8b"},"content":{"rendered":"<p><img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/www.otwo.jp\/blog\/wp-content\/uploads\/2019\/11\/modal_css.png\" alt=\"\" width=\"700\" height=\"400\" class=\"alignnone size-full wp-image-4938\" srcset=\"https:\/\/www.otwo.jp\/blog\/wp-content\/uploads\/2019\/11\/modal_css.png 700w, https:\/\/www.otwo.jp\/blog\/wp-content\/uploads\/2019\/11\/modal_css-150x86.png 150w, https:\/\/www.otwo.jp\/blog\/wp-content\/uploads\/2019\/11\/modal_css-300x171.png 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><br \/>\n\u3053\u3093\u306b\u3061\u306f\u4f50\u91ce\u3067\u3059\u3002<\/p>\n<p>\u5148\u65e5\u306e\u8a71\u3067\u3059\u304c\u3001\u3068\u3042\u308bWEB\u30b5\u30a4\u30c8\u306e\u30e2\u30fc\u30c0\u30eb\u306e\u6319\u52d5\u306b\u9055\u548c\u611f\u3092\u899a\u3048\u308b\u4e8b\u304c\u3042\u308a\u307e\u3057\u305f\u3002<span style=\"color:#999;font-size:80%;\">(\u203b\u30e2\u30fc\u30c0\u30eb\u3068\u306f\u30dd\u30c3\u30d7\u30a2\u30c3\u30d7\u8868\u793a\u3055\u308c\u308b\u30b3\u30f3\u30c6\u30f3\u30c4\u306e\u4e8b\u3067\u3059\u3002)<\/span><br \/>\n\u305d\u306e\u30e2\u30fc\u30c0\u30eb\u306f\u300c\u958b\u304f\u5ea6\u306b\u30da\u30fc\u30b8\u30c8\u30c3\u30d7\u306b\u623b\u308a\u300d\u3001\u300c\u9589\u3058\u308b\u3068\u5143\u306e\u4f4d\u7f6e\u306b\u623b\u308b\u300d\u3068\u8a00\u3063\u305f\u6319\u52d5\u3092\u3057\u3066\u3044\u3066\u3001WEB\u306b\u5f93\u4e8b\u3057\u3066\u3044\u308b\u304b\u3089\u304b\u6c17\u306b\u306a\u308b\u6319\u52d5\u3067\u3057\u305f\u3002<\/p>\n<p>\u5b9f\u88c5\u65b9\u6cd5\u3092\u8a73\u3057\u304f\u898b\u308b\u69d8\u306a\u4e8b\u306f\u3057\u3066\u3044\u306a\u3044\u306e\u3067\u3059\u304c\u3001\u6319\u52d5\u7684\u306b\u6050\u3089\u304fJavaScript\u3067\u81ea\u4f5c\u3055\u308c\u305f\u3082\u306e\u304b\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\n\u305d\u306e\u6642\u3001\u5510\u7a81\u306bCSS\u3060\u3051\u3067\u30e2\u30fc\u30c0\u30eb\u3063\u3066\u4f5c\u308c\u308b\u306e\u304b\u306a\u3063\u3066\u6c17\u306b\u306a\u3063\u305f\u3093\u3067\u3059\u3088\u306d\u3002<\/p>\n<p>\u3068\u8a00\u3046\u4e8b\u3067\u4eca\u56de\u306f\u5b9f\u969b\u306bCSS\u3060\u3051\u3067\u30e2\u30fc\u30c0\u30eb\u3092\u4f5c\u3063\u3066\u307f\u305f\u306e\u3067\u305d\u306e\u65b9\u6cd5\u3068\u3001\u4f5c\u3063\u3066\u307f\u3066\u601d\u3063\u305f\u4e8b\u3092\u66f8\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306f\u5b9f\u7528\u7684\u306a\u5185\u5bb9\u3067\u306f\u306a\u304f\u52c9\u5f37\u306e\u4e00\u74b0\u306a\u306e\u3067\u3001CSS\u52c9\u5f37\u4e2d\u306a\u4eba\u5411\u3051\u306e\u5185\u5bb9\u3067\u3059\u3002<\/p>\n<div class=\"pageContents\">\n<p class=\"title\">\u3082\u304f\u3058<\/p>\n<dl>\n<dt><a href=\"#step1\">\u5b9f\u88c5\u3057\u3066\u601d\u3063\u305f\u4e8b<\/a><\/dt>\n<dt><a href=\"#step2\">\u5b9f\u88c5\u30b5\u30f3\u30d7\u30eb\u3068\u30b3\u30fc\u30c9<\/a><\/dt>\n<dt><a href=\"#step3\">\u8868\u793a\u30fb\u975e\u8868\u793a\u306e\u5207\u308a\u66ff\u3048\u65b9<\/a><\/dt>\n<dt><a href=\"#step4\">\u6700\u5f8c\u306b<\/a><\/dt>\n<\/dl>\n<\/div>\n<h2 id=\"step1\">\u5b9f\u88c5\u3057\u3066\u601d\u3063\u305f\u4e8b<\/h2>\n<p>\u4f5c\u3063\u3066\u307f\u3066\u601d\u3046\u4e8b\u306f\u3001<span style=\"color:red;\">\u30e2\u30fc\u30c0\u30eb\u3092\u4f5c\u308b\u306a\u3089JavaScript\u306f\u4f7f\u3063\u305f\u65b9\u304c\u3044\u3044<\/span>\u3068\u8a00\u3046\u4e8b\u3067\u3059\u3002<\/p>\n<p>\u8981\u4ef6\u6b21\u7b2c\u3067\u306fCSS\u306e\u307f\u306e\u5b9f\u88c5\u3067\u3082\u5927\u4e08\u592b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001\u81ea\u8eab\u3067\u904b\u7528\u3059\u308b\u30b5\u30a4\u30c8\u3067\u3082\u306a\u3044\u9650\u308a\u306f\u67d4\u8edf\u306b\u5bfe\u5fdc\u51fa\u308b\u69d8\u306bJavaScript\u306f\u4f7f\u3063\u305f\u65b9\u304c\u3044\u3044\u3067\u3059\u3002<\/p>\n<p>\u305f\u3060\u3001JavaScript\u3067\u5b9f\u88c5\u3057\u3066\u3044\u308b\u3082\u306e\u3092CSS\u3060\u3051\u3067\u518d\u73fe\u3067\u304d\u308b\u306e\u304b\u3001\u3068\u8a00\u3046\u8208\u5473\u306f\u30b9\u30ad\u30eb\u30a2\u30c3\u30d7\u306e\u610f\u5473\u3067\u3082\u5927\u5207\u306a\u4e8b\u3060\u3068\u611f\u3058\u307e\u3057\u305f\u3002<\/p>\n<p>\u4eca\u56de\u306fCSS3\u3067\u8ffd\u52a0\u3055\u308c\u305f\u7591\u4f3c\u30af\u30e9\u30b9\u3092\u4f7f\u3063\u3066\u3044\u307e\u3059\u304c\u3001\u4eca\u307e\u3067\u77e5\u3089\u306a\u304b\u3063\u305f\u4e8b\u304c\u591a\u304f\u3001CSS\u306e\u5229\u4fbf\u6027\u3092\u77e5\u308b\u3044\u3044\u304d\u3063\u304b\u3051\u306b\u306a\u308a\u307e\u3057\u305f\u3002<br \/>\n\u306a\u306e\u3067\u3001\u8208\u5473\u304c\u3042\u308b\u65b9\u306f\u6700\u5f8c\u307e\u3067\u898b\u3066\u3082\u3089\u3048\u305f\u3089\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<h2 id=\"step2\">\u5b9f\u88c5\u30b5\u30f3\u30d7\u30eb\u3068\u30b3\u30fc\u30c9<\/h2>\n<p>\u4eca\u56de\u5b9f\u88c5\u3057\u305f\u3082\u306e\u304c\u3053\u3061\u3089\u3067\u3059\u3002<\/p>\n<p class=\"codepen\" data-height=\"500\" data-theme-id=\"default\" data-default-tab=\"result\" data-user=\"otwo\" data-slug-hash=\"oNNrbae\" style=\"height: 265px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; border: 2px solid; margin: 1em 0; padding: 1em;\" data-pen-title=\"oNNrbae\">\n  <span>See the Pen <a href=\"https:\/\/codepen.io\/otwo\/pen\/oNNrbae\"><br \/>\n  oNNrbae<\/a> by otwo (<a href=\"https:\/\/codepen.io\/otwo\">@otwo<\/a>)<br \/>\n  on <a href=\"https:\/\/codepen.io\">CodePen<\/a>.<\/span>\n<\/p>\n<p><script async src=\"https:\/\/static.codepen.io\/assets\/embed\/ei.js\"><\/script><\/p>\n<h3>\u30b3\u30fc\u30c9<\/h3>\n<p>\u6b21\u306b\u30b3\u30d4\u30da\u7528\u306e\u30b3\u30fc\u30c9\u3092\u8f09\u305b\u3066\u304a\u304d\u307e\u3059\u3002<br \/>\n\u30e2\u30fc\u30c0\u30eb\u306e\u30b5\u30a4\u30ba\u306a\u3069\u82e5\u5e72\u9055\u3044\u306f\u3042\u308a\u307e\u3059\u304c\u3001\u307b\u307c\u30b5\u30f3\u30d7\u30eb\u3068\u540c\u3058\u3082\u306e\u3067\u3059\u3002<br \/>\n\u6319\u52d5\u3067\u6c17\u306b\u306a\u308b\u70b9\u306f\u3042\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u8272\u3005\u5909\u66f4\u3057\u306a\u304c\u3089\u904a\u3093\u3067\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"brush: python\r; notranslate\">&lt;!DOCTYPE html&gt;\r\n&lt;html&gt;\r\n&lt;head&gt;\r\n&lt;meta charset=\"utf-8\"&gt;\r\n&lt;style&gt;\r\n*{\r\n  padding: 0;\r\n  margin: 0;\r\n}\r\n.modal-open{\r\n  display: inline-block;\r\n  background-color: #666;\r\n  color: #fff;\r\n  margin: 10px;\r\n}\r\n.modal-open a{\r\n  display: inline-block;\r\n  padding: 5px;\r\n  text-decoration: none;\r\n  color: #fff;\r\n}\r\n\/*** \u4ee5\u4e0b\u30e2\u30fc\u30c0\u30eb\u7528CSS ***\/\r\n.modal{\r\n  width: 100%;\r\n  height: 100%;\r\n  position: fixed;\r\n  top: 0;\r\n  left: 0;\r\n}\r\n.modal:not(:target) {\r\n  opacity: 0;\r\n  visibility: hidden;\r\n  transition: opacity 0.5s, visibility 0.5s;\r\n}\r\n.modal:target{\r\n  opacity: 1;\r\n  visibility: visible;\r\n  transition: opacity 0.5s, visibility 0.5s;\r\n}\r\n.modal .overlay{\r\n  display: block;\r\n  width: 100%;\r\n  height: 100%;\r\n  position: absolute;\r\n  background-color: #000;\r\n  opacity: 0.7;\r\n  top: 0;\r\n  left: 0;\r\n}\r\n.modal-wrapper{\r\n  width: 100%;\r\n  max-width: 650px;\r\n  min-width: 300px;\r\n  height: 100%;\r\n  max-height: 550px;\r\n  background-color: #fff;\r\n  position: absolute;\r\n  top: 50%;\r\n  left: 50%;\r\n  transform: translate(-50%, -50%);\r\n}\r\n.modal-contents{\r\n  overflow: auto;\r\n  width: 100%;\r\n  height: 100%;\r\n  box-sizing: border-box;\r\n  position: relative;\r\n}\r\n.modal-content{\r\n  margin: 25px;\r\n}\r\n.modal-close{\r\n  position: absolute;\r\n  top: 5px;\r\n  right: 10px;\r\n  text-decoration: none;\r\n}\r\n&lt;\/style&gt;\r\n&lt;\/head&gt;\r\n&lt;body&gt;\r\n  &lt;div class=\"modal-open\"&gt;&lt;a href=\"#modal\">\u30e2\u30fc\u30c0\u30eb\u3092\u958b\u304f&lt;\/a&gt;&lt;\/div&gt;\r\n  &lt;div class=\"modal\" id=\"modal\"&gt;\r\n    &lt;a href=\"#!\" class=\"overlay\"&gt;&lt;\/a&gt;\r\n    &lt;div class=\"modal-wrapper\"&gt;\r\n      &lt;div class=\"modal-contents\"&gt;\r\n        &lt;a href=\"#!\" class=\"modal-close\"&gt;\u2715&lt;\/a&gt;\r\n        &lt;div class=\"modal-content\"&gt;\r\n          \u3053\u3053\u306b\u30c6\u30ad\u30b9\u30c8\u3084\u753b\u50cf\u3092\u8a2d\u7f6e\u3057\u307e\u3059\u3002&lt;br&gt;&lt;br&gt;\r\n          \u30c6\u30ad\u30b9\u30c8\u3082\u898b\u5207\u308c\u307e\u305b\u3093\u3002\u30c6\u30ad\u30b9\u30c8\u3082\u898b\u5207\u308c\u307e\u305b\u3093\u3002\u30c6\u30ad\u30b9\u30c8\u3082\u898b\u5207\u308c\u307e\u305b\u3093\u3002\u30c6\u30ad\u30b9\u30c8\u3082\u898b\u5207\u308c\u307e\u305b\u3093\u3002\u30c6\u30ad\u30b9\u30c8\u3082\u898b\u5207\u308c\u307e\u305b\u3093\u3002\u30c6\u30ad\u30b9\u30c8\u3082\u898b\u5207\u308c\u307e\u305b\u3093\u3002\u30c6\u30ad\u30b9\u30c8\u3082\u898b\u5207\u308c\u307e\u305b\u3093\u3002&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;\r\n          \u5185\u5bb9\u306b\u5fdc\u3058\u3067\u30b9\u30af\u30ed\u30fc\u30eb\u3082\u51fa\u307e\u3059\u3002&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;\r\n          \u5185\u5bb9\u306b\u5fdc\u3058\u3067\u30b9\u30af\u30ed\u30fc\u30eb\u3082\u51fa\u307e\u3059\u3002&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;\r\n          \u5185\u5bb9\u306b\u5fdc\u3058\u3067\u30b9\u30af\u30ed\u30fc\u30eb\u3082\u51fa\u307e\u3059\u3002&lt;br&gt;\r\n          \u7d42\u308f\u308a\u3002\r\n        &lt;\/div&gt;\r\n      &lt;\/div&gt;\r\n    &lt;\/div&gt;\r\n  &lt;\/div&gt;\r\n&lt;\/body&gt;\r\n&lt;\/html&gt;\r\n<\/pre>\n<h2 id=\"step3\">\u8868\u793a\u30fb\u975e\u8868\u793a\u306e\u5207\u308a\u66ff\u3048\u65b9<\/h2>\n<p>\u7d9a\u3044\u3066\u4eca\u56de\u4e00\u756a\u60a9\u3093\u3060\u3001\u30e2\u30fc\u30c0\u30eb\u306e\u8868\u793a\u3068\u975e\u8868\u793a\u306e\u5207\u308a\u66ff\u3048\u3067\u3059\u3002<br \/>\n\u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af\u30b9\u3092\u4f7f\u3063\u305f\u5b9f\u88c5\u3082\u3042\u308a\u307e\u3059\u304c\u3001\u4eca\u56de\u306f:target\u7591\u4f3c\u30af\u30e9\u30b9\u3092\u4f7f\u3063\u305f\u5b9f\u88c5\u3092\u8a66\u3057\u307e\u3057\u305f\u3002<\/p>\n<h3>:target \u7591\u4f3c\u30af\u30e9\u30b9<\/h3>\n<p>\u3053\u306e:target\u304ccss3\u3067\u8ffd\u52a0\u3055\u308c\u305f\u7591\u4f3c\u30af\u30e9\u30b9\u3067\u3059\u3002<br \/>\n\u6319\u52d5\u306b\u3064\u3044\u3066\u306f\u4e0b\u8a18\u306e\u30b5\u30a4\u30c8\u304c\u308f\u304b\u308a\u3084\u3059\u304f\u66f8\u3044\u3066\u3044\u308b\u306e\u3067\u78ba\u8a8d\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<br \/>\n<a href=\"https:\/\/developer.mozilla.org\/ja\/docs\/Web\/CSS\/:target\" target=\"_blank\" rel=\"noopener noreferrer\">:target &#8211; CSS: \u30ab\u30b9\u30b1\u30fc\u30c7\u30a3\u30f3\u30b0\u30b9\u30bf\u30a4\u30eb\u30b7\u30fc\u30c8 | MDN<\/a><\/p>\n<p>\u7c21\u5358\u306b\u8aac\u660e\u3059\u308b\u3068\u3001\u30da\u30fc\u30b8\u5185\u30ea\u30f3\u30af\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068URL\u306e\u5f8c\u308d\u306b\u30b8\u30e3\u30f3\u30d7\u5148\u8981\u7d20\u306eID\u304c\u4ed8\u304d\u307e\u3059\u3002<br \/>\n\u300chttps:\/\/\u25cf\u25cf\u25cf.com\/index.html#ID\u540d\u300d\u306e\u69d8\u306a\u611f\u3058\u3067\u3059\u3002<br \/>\n:target\u306fURL\u306bID\u304c\u4ed8\u3044\u305f\u5f62\u5f0f\u306e\u6642\u3060\u3051\u6709\u52b9\u306b\u306a\u308bCSS\u304c\u8a18\u8ff0\u3067\u304d\u308b\u7591\u4f3c\u30af\u30e9\u30b9\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n<span style=\"color:#999;font-size:80%;\">\u203b\u30b5\u30f3\u30d7\u30eb\u306fCodePen\u3067\u8868\u793a\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u3053\u306e\u8a18\u4e8b\u3067URL\u306e\u5909\u5316\u306f\u78ba\u8a8d\u3067\u304d\u307e\u305b\u3093\u3002<\/span><\/p>\n<p>\u3068\u8a00\u3046\u4e8b\u3067\u30b5\u30f3\u30d7\u30eb\u3067\u306e\u4f7f\u3044\u65b9\u306e\u8aac\u660e\u3067\u3059\u3002<\/p>\n<pre class=\"brush: python\r; notranslate\">.modal:not(:target) {\r\n  opacity: 0;\r\n  visibility: hidden;\r\n  transition: opacity 0.5s, visibility 0.5s;\r\n}\r\n.modal:target{\r\n  opacity: 1;\r\n  visibility: visible;\r\n  transition: opacity 0.5s, visibility 0.5s;\r\n}\r\n<\/pre>\n<p>.modal:not(:target)\u304c\u30e2\u30fc\u30c0\u30eb\u304c\u51fa\u3066\u3044\u306a\u3044(URL\u306bID\u540d\u304c\u5165\u3063\u3066\u3044\u306a\u3044)\u72b6\u614b\u306e\u30b9\u30bf\u30a4\u30eb\u3067\u3059\u3002<br \/>\n\u30b5\u30f3\u30d7\u30eb\u3067\u306f\u30e2\u30fc\u30c0\u30eb\u3092\u898b\u3048\u306a\u3044\u69d8\u306b\u96a0\u3057\u3066\u304a\u308a\u3001:target\u306e\u6709\u52b9\u6642(\u30b5\u30f3\u30d7\u30eb\u306fURL\u306b&#8221;#modal&#8221;\u304c\u3064\u3044\u3066\u3044\u308b\u6642)\u306b0.5\u79d2\u304b\u3051\u3066\u8868\u793a\u306b\u5207\u308a\u66ff\u3048\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u30e2\u30fc\u30c0\u30eb\u3092\u6d88\u3059\u5834\u5408\u306f:target\u3092\u5b58\u5728\u3057\u306a\u3044ID\u306b\u5909\u66f4\u3057\u307e\u3059\u3002<br \/>\n\u30b5\u30f3\u30d7\u30eb\u3067\u306foverlay\u30af\u30e9\u30b9\u306ea\u30bf\u30b0href\u306b&#8221;#!&#8221;\u306e\u6307\u5b9a\u3092\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u30da\u30fc\u30b8\u5185\u306b\u5b58\u5728\u3057\u306a\u3044ID\u306a\u3089\u4f55\u3067\u3082\u6307\u5b9a\u3057\u3066\u5927\u4e08\u592b\u3067\u3059\u3002<\/p>\n<h3>\u5b9f\u7528\u304c\u96e3\u3057\u3044\u3068\u611f\u3058\u305f\u70b9<\/h3>\n<p>\u3053\u3053\u307e\u3067\u306b\u5b9f\u7528\u7684\u3067\u306f\u306a\u3044\u3068\u611f\u3058\u305f\u3067\u3059\u3002<\/p>\n<p>\u30fb\u30e2\u30fc\u30c0\u30eb\u306e\u8868\u793a\u5207\u66ff\u3067URL\u306bID\u304c\u5e38\u306b\u8868\u793a\u3055\u308c\u308b\u3002<br \/>\n\u30fb\u30e2\u30fc\u30c0\u30eb\u3092\u8868\u793a\u3057\u305f\u72b6\u614b\u3067\u30da\u30fc\u30b8\u3092\u66f4\u65b0\u3059\u308b\u3068\u30e2\u30fc\u30c0\u30eb\u304c\u8868\u793a\u3057\u305f\u72b6\u614b\u304b\u3089\u59cb\u307e\u308b\u3002<br \/>\n\u30fb\u30e2\u30fc\u30c0\u30eb\u8868\u793a\u6642\u306b\u80cc\u666f(\u30e1\u30a4\u30f3\u30b3\u30f3\u30c6\u30f3\u30c4)\u3092\u56fa\u5b9a\u3067\u304d\u306a\u3044\u3002<\/p>\n<p>\u30b5\u30f3\u30d7\u30eb\u4f5c\u6210\u306e\u6642\u70b9\u30673\u3064\u307b\u3069\u611f\u3058\u307e\u3057\u305f\u3002<br \/>\n\u3082\u3063\u3068\u7d30\u304b\u3044\u60f3\u5b9a\u3092\u3059\u308c\u3070\u3082\u3063\u3068\u51fa\u3066\u304f\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<p>\u80cc\u666f\u306e\u56fa\u5b9a\u306a\u3069\u3001JavaScript\u3092\u4f7f\u3048\u3070\u5b9f\u88c5\u3067\u304d\u308b\u3082\u306e\u304c\u3042\u308b\u4ee5\u4e0a\u3001JavaScript\u3092\u4f7f\u308f\u306a\u3044\u7406\u7531\u306f\u4eca\u306e\u3068\u3053\u308d\u898b\u5f53\u305f\u3089\u306a\u3044\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<h2 id=\"step4\">\u6700\u5f8c\u306b<\/h2>\n<p>\u5b9f\u52d9\u3067\u4f7f\u3048\u308b\u3082\u306e\u3068\u306f\u306a\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u304c\u3001CSS\u306e\u9762\u767d\u3055\u3092\u77e5\u308b\u826f\u3044\u304d\u3063\u304b\u3051\u3068\u306a\u308a\u307e\u3057\u305f\u3002<br \/>\n\u3053\u308c\u3092\u6a5f\u4f1a\u306bCSS\u3068JavaScript\u3067\u5b9f\u88c5\u3067\u304d\u308b\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306e\u9055\u3044\u3092\u8003\u3048\u3066\u307f\u3066\u3082\u3044\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u306d\uff01<\/p>\n<p>\u305d\u308c\u3067\u306f\u307e\u305f\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f\u4f50\u91ce\u3067\u3059\u3002 \u5148\u65e5\u306e\u8a71\u3067\u3059\u304c\u3001\u3068\u3042\u308bWEB\u30b5\u30a4\u30c8\u306e\u30e2\u30fc\u30c0\u30eb\u306e\u6319\u52d5\u306b\u9055\u548c\u611f\u3092\u899a\u3048\u308b\u4e8b\u304c\u3042\u308a\u307e\u3057\u305f\u3002(\u203b\u30e2\u30fc\u30c0\u30eb\u3068\u306f\u30dd\u30c3\u30d7\u30a2\u30c3\u30d7\u8868\u793a\u3055\u308c\u308b\u30b3\u30f3\u30c6\u30f3\u30c4\u306e\u4e8b\u3067\u3059\u3002) \u305d\u306e\u30e2\u30fc\u30c0\u30eb\u306f\u300c\u958b\u304f\u5ea6\u306b\u30da\u30fc\u30b8\u30c8\u30c3\u30d7\u306b\u623b\u308a\u300d\u3001\u300c\u9589\u3058\u308b [&hellip;]<\/p>\n","protected":false},"author":25,"featured_media":4942,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[8],"tags":[42,103],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.otwo.jp\/blog\/wp-json\/wp\/v2\/posts\/4900"}],"collection":[{"href":"https:\/\/www.otwo.jp\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.otwo.jp\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.otwo.jp\/blog\/wp-json\/wp\/v2\/users\/25"}],"replies":[{"embeddable":true,"href":"https:\/\/www.otwo.jp\/blog\/wp-json\/wp\/v2\/comments?post=4900"}],"version-history":[{"count":37,"href":"https:\/\/www.otwo.jp\/blog\/wp-json\/wp\/v2\/posts\/4900\/revisions"}],"predecessor-version":[{"id":4941,"href":"https:\/\/www.otwo.jp\/blog\/wp-json\/wp\/v2\/posts\/4900\/revisions\/4941"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.otwo.jp\/blog\/wp-json\/wp\/v2\/media\/4942"}],"wp:attachment":[{"href":"https:\/\/www.otwo.jp\/blog\/wp-json\/wp\/v2\/media?parent=4900"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.otwo.jp\/blog\/wp-json\/wp\/v2\/categories?post=4900"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.otwo.jp\/blog\/wp-json\/wp\/v2\/tags?post=4900"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}