{"id":4713,"date":"2017-05-17T18:41:15","date_gmt":"2017-05-17T09:41:15","guid":{"rendered":"http:\/\/www.y-com.info\/contents\/?p=4713"},"modified":"2021-06-24T10:19:18","modified_gmt":"2021-06-24T01:19:18","slug":"css%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e8%a6%8b%e5%87%ba%e3%81%97%e3%81%ae%e5%b7%a6%e5%8f%b3%e3%81%ab%e6%b0%b4%e5%b9%b3%e7%b7%9a%e3%82%92%e5%85%a5%e3%82%8c%e3%82%8b%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/y-com.info\/contents\/?p=4713","title":{"rendered":"CSS\u3092\u4f7f\u3063\u3066\u898b\u51fa\u3057\u306e\u5de6\u53f3\u306b\u6c34\u5e73\u7dda\u3092\u5165\u308c\u308b\u65b9\u6cd5"},"content":{"rendered":"<p><span class=\"anchor\"><a id=\"anc_01\"><\/a><\/span><\/p>\n<section class=\"entry__section\">\n\u3088\u304f\u4f7f\u3046\u306e\u3067\u5099\u5fd8\u30e1\u30e2\u3002<br \/>\n\u898b\u51fa\u3057\u306e\u5de6\u53f3\u306b\u6c34\u5e73\u7dda\u3092\u5165\u308c\u305f\u3044\u3068\u601d\u3063\u305f\u3089\u3001CSS\u3092\u4f7f\u3063\u3066\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p data-height=\"300\" data-theme-id=\"26486\" data-slug-hash=\"eWLYmg\" data-default-tab=\"html,result\" data-user=\"hachidaime\" data-embed-version=\"2\" data-pen-title=\"\u5de6\u53f3\u306b\u6c34\u5e73\u7dda\u3092\u5165\u308c\u305f\u30b9\u30bf\u30a4\u30eb\u306e\u30e9\u30d9\u30eb\" class=\"codepen\">See the Pen <a href=\"https:\/\/codepen.io\/hachidaime\/pen\/eWLYmg\/\">\u5de6\u53f3\u306b\u6c34\u5e73\u7dda\u3092\u5165\u308c\u305f\u30b9\u30bf\u30a4\u30eb\u306e\u30e9\u30d9\u30eb<\/a> by Yoshimune (<a href=\"http:\/\/codepen.io\/hachidaime\">@hachidaime<\/a>) on <a href=\"http:\/\/codepen.io\" class=\"broken_link\">CodePen<\/a>.<\/p>\n<p><script async src=\"https:\/\/production-assets.codepen.io\/assets\/embed\/ei.js\"><\/script><\/p>\n<p>\u4e0a\u306eCODEPEN\u304b\u3089\u30b3\u30d4\u30fc\u3057\u3066\u3082\u3089\u3063\u305f\u3089\u3044\u3044\u3051\u308c\u3069\u3001<br \/>\n\u30b3\u30c1\u30e9\u306b\u3082\u66f8\u3044\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<p>CSS<\/p>\n<pre class=\"brush: css; title: ; notranslate\" title=\"\">\r\n.lines-on-sides{\r\n  position: relative;\r\n  top: 0;\r\n  left: 0;\r\n  text-align: center;\r\n}\r\n.lines-on-sides:before {\r\n  content: &quot;&quot;;\r\n  display: block;\r\n  border-top: solid 1px #ccc;\r\n  width: 100%;\r\n  height: 1px;\r\n  position: absolute;\r\n  top: 50%;\r\n  z-index: 1;\r\n}\r\n.lines-on-sides span {\r\n  background: #fff;\r\n  padding: 0 20px;\r\n  position: relative;\r\n  z-index: 5;\r\n}\r\n.lines-on-sides.sides_left{\r\n  text-align: left;\r\n}\r\n.lines-on-sides.sides_left span{\r\n  padding-left: 0;\r\n}\r\n.lines-on-sides.sides_right{\r\n  text-align: right;\r\n}\r\n.lines-on-sides.sides_right span{\r\n  padding-right: 0;\r\n}\r\n<\/pre>\n<p>HTML<\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&lt;div class=&quot;lines-on-sides&quot;&gt;&lt;span&gt;\u6c34\u5e73\u7dda\u306e\u898b\u51fa\u3057&lt;\/span&gt;&lt;\/div&gt;\r\n&lt;div class=&quot;lines-on-sides sides_left&quot;&gt;&lt;span&gt;\u6c34\u5e73\u7dda\u306e\u898b\u51fa\u3057&lt;\/span&gt;&lt;\/div&gt;\r\n&lt;div class=&quot;lines-on-sides sides_right&quot;&gt;&lt;span&gt;\u6c34\u5e73\u7dda\u306e\u898b\u51fa\u3057&lt;\/span&gt;&lt;\/div&gt;\r\n<\/pre>\n<p>\u3088\u304b\u3063\u305f\u3089\u3069\u3046\u305e\u3002<br \/>\n\u30b3\u30c1\u30e9\u3092\u53c2\u8003\u306b\u3057\u307e\u3057\u305f\u3002<br \/>\n<a href=\"http:\/\/coliss.com\/articles\/build-websites\/operation\/css\/css-centered-heading-horizontal-line-by-impressivewebs.html\" target=\"_blank\">[CSS]\u898b\u51fa\u3057\u306e\u4e21\u7aef\u306b\u6c34\u5e73\u30e9\u30a4\u30f3\u3092\u5929\u5730\u4e2d\u592e\u306b\u914d\u7f6e\u3059\u308b\u30c6\u30af\u30cb\u30c3\u30af<\/a><br \/>\n<\/section>\n\n\t<div class=\"adbanner\" style=\"margin:0 0 30px 0;\">\n\t\t<iframe loading=\"lazy\" style=\"margin:0\tauto;\" src=\"https:\/\/rcm-fe.amazon-adsystem.com\/e\/cm?o=9&p=48&l=ur1&category=amazonrotate&f=ifr&linkID=528672f6928aa364301f0b83e4e61d09&t=yossyhomepage-22&tracking_id=yossyhomepage-22\" width=\"728\" height=\"90\" scrolling=\"no\" border=\"0\" marginwidth=\"0\" style=\"border:none;\" frameborder=\"0\"><\/iframe>\n\t<\/div>\n\t","protected":false},"excerpt":{"rendered":"<p>\u3088\u304f\u4f7f\u3046\u306e\u3067\u5099\u5fd8\u30e1\u30e2\u3002 \u898b\u51fa\u3057\u306e\u5de6\u53f3\u306b\u6c34\u5e73\u7dda\u3092\u5165\u308c\u305f\u3044\u3068\u601d\u3063\u305f\u3089\u3001CSS\u3092\u4f7f\u3063\u3066\u53ef\u80fd\u3067\u3059\u3002 See the Pen \u5de6\u53f3\u306b\u6c34\u5e73\u7dda\u3092\u5165\u308c\u305f\u30b9\u30bf\u30a4\u30eb\u306e\u30e9\u30d9\u30eb by Yoshimune (@hachidaime) on Cod [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":4657,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[37,88],"tags":[],"class_list":["post-4713","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-css","category-88"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/y-com.info\/contents\/index.php?rest_route=\/wp\/v2\/posts\/4713","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/y-com.info\/contents\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/y-com.info\/contents\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/y-com.info\/contents\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/y-com.info\/contents\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4713"}],"version-history":[{"count":3,"href":"https:\/\/y-com.info\/contents\/index.php?rest_route=\/wp\/v2\/posts\/4713\/revisions"}],"predecessor-version":[{"id":4716,"href":"https:\/\/y-com.info\/contents\/index.php?rest_route=\/wp\/v2\/posts\/4713\/revisions\/4716"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/y-com.info\/contents\/index.php?rest_route=\/wp\/v2\/media\/4657"}],"wp:attachment":[{"href":"https:\/\/y-com.info\/contents\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4713"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/y-com.info\/contents\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4713"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/y-com.info\/contents\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4713"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}