{"id":1147,"date":"2021-06-27T23:52:43","date_gmt":"2021-06-27T14:52:43","guid":{"rendered":"http:\/\/www.agile-software.site\/?p=1147"},"modified":"2021-07-03T23:11:20","modified_gmt":"2021-07-03T14:11:20","slug":"font","status":"publish","type":"post","link":"https:\/\/agile-software.net\/?p=1147","title":{"rendered":"font"},"content":{"rendered":"\n<p>font-size\u30d7\u30ed\u30d1\u30c6\u30a3\u306b\u306fpx\u3084em\u3001rem\u3068\u3044\u3046\u5358\u4f4d\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>em\u306f\u89aa\u8981\u7d20\u306efont-sie\u30921\u3068\u3057\u305f\u500d\u7387\u3092\u6307\u5b9a\u3059\u308b\u304crem\u306fhtml\u306efont-size\u30921\u3068\u3057\u305f\u3068\u304d\u306e\u500d\u7387\u3067\u8868\u3057\u3001html\u306efont-sie\u304c10px\u306e\u3068\u304d\u300110*1.2=12px(1.2rem)\u3068\u306a\u308b<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>&lt;div class=&quot;parent&quot;&gt;\n   \u89aa\u8981\u7d20\u306e\u30c6\u30ad\u30b9\u30c8\n    &lt;div class=&quot;child&quot;&gt;\n    \u5b50\u8981\u7d20\u306e\u30c6\u30ad\u30b9\u30c8\n    &lt;\/div&gt;\n&lt;\/div&gt;<\/code><\/pre><\/div>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>html{\n    font-size: 10px;\n}\n.parent{\n    font-size: 1.2em;\n}\n.child{\n    font-size: 1.2rem;\n}<\/code><\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">\u884c\u9593<\/h2>\n\n\n\n<p>line-height\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u4f7f\u7528\u3059\u308b\u3068\u30c6\u30ad\u30b9\u30c8\u306e\u884c\u306e\u4e0a\u4e0b\u306b\u30b9\u30da\u30fc\u30b9\u304c<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u592a\u5b57<\/h2>\n","protected":false},"excerpt":{"rendered":"<p>font-size\u30d7\u30ed\u30d1\u30c6\u30a3\u306b\u306fpx\u3084em\u3001rem\u3068\u3044\u3046\u5358\u4f4d\u304c\u3042\u308a\u307e\u3059\u3002 em\u306f\u89aa\u8981\u7d20\u306efont-sie\u30921\u3068\u3057\u305f\u500d\u7387\u3092\u6307\u5b9a\u3059\u308b\u304crem\u306fhtml\u306efont-size\u30921\u3068\u3057\u305f\u3068\u304d\u306e\u500d\u7387\u3067\u8868\u3057\u3001html\u306efont-sie<\/p>\n","protected":false},"author":1,"featured_media":1204,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jin_ogp_image_url":"","_jin_last_featured_id":0,"footnotes":""},"categories":[5],"tags":[],"class_list":["post-1147","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-html"],"_links":{"self":[{"href":"https:\/\/agile-software.net\/index.php?rest_route=\/wp\/v2\/posts\/1147","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/agile-software.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/agile-software.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/agile-software.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/agile-software.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1147"}],"version-history":[{"count":3,"href":"https:\/\/agile-software.net\/index.php?rest_route=\/wp\/v2\/posts\/1147\/revisions"}],"predecessor-version":[{"id":1241,"href":"https:\/\/agile-software.net\/index.php?rest_route=\/wp\/v2\/posts\/1147\/revisions\/1241"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/agile-software.net\/index.php?rest_route=\/wp\/v2\/media\/1204"}],"wp:attachment":[{"href":"https:\/\/agile-software.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1147"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/agile-software.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1147"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/agile-software.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1147"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}