{"id":4157,"date":"2016-01-26T11:00:07","date_gmt":"2016-01-26T02:00:07","guid":{"rendered":"http:\/\/blog.antenna.co.jp\/ILSoft2\/?p=4157"},"modified":"2016-01-26T11:00:07","modified_gmt":"2016-01-26T02:00:07","slug":"css-%e3%81%a7%e3%81%ae%e6%9f%b1","status":"publish","type":"post","link":"https:\/\/blog.antenna.co.jp\/ILSoft2\/archives\/4157\/","title":{"rendered":"CSS \u3067\u306e\u67f1"},"content":{"rendered":"<p>CSS \u3067\u306e\u7c21\u5358\u306a\u67f1\u306e\u5b9f\u73fe\u65b9\u6cd5\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002FO \u3067\u306e\u67f1\u306f\u3001&lt;fo:marker&gt; \u3068 &lt;fo:static-content&gt; \u306a\u3069\u3092\u5229\u7528\u3057\u3066\u884c\u306a\u3044\u307e\u3059\u304c\u3001CSS \u3067\u306f\u307e\u3063\u305f\u304f\u7570\u306a\u308b\u65b9\u6cd5\u3067\u884c\u306a\u3044\u307e\u3059\u3002<\/p>\n<ol>\n<li>\u67f1\u3092\u51fa\u3059\u4f4d\u7f6e\u3092\u6c7a\u3081\u307e\u3059\u3002\n<pre>    @page {\n      @top-right {\n        content: element(xxx, first);\n      }\n    }\n<\/pre>\n<p>\u3053\u306e\u4f8b\u3067\u306f\u3001\u30da\u30fc\u30b8\u306e\u53f3\u4e0a top-right \u306b\u67f1\u3092\u51fa\u3059\u3053\u3068\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002xxx \u3068 first \u306b\u3064\u3044\u3066\u306f\u5f8c\u8ff0\u3057\u307e\u3059\u3002<\/li>\n<li>\u67f1\u7528\u306e class \u3092\u6c7a\u3081\u307e\u3059\u3002\n<pre>    .header {\n      position: running(xxx);\n    }\n<\/pre>\n<p>\u3053\u3053\u3067\u306f header \u3068\u3044\u3046 class\u540d\u3092\u7528\u3044\u307e\u3059\u3002xxx \u306f\u3001\u5148\u306e element \u3067\u6307\u5b9a\u3057\u305f\u67f1\u306e\u540d\u524d\u3067\u3059\u3002<\/li>\n<li>HTML\u672c\u6587\u4e2d\u306e\u9069\u5f53\u306a\u4f4d\u7f6e\u306b\u3001\u67f1\u3092\u633f\u5165\u3057\u307e\u3059\u3002\n<pre>    &lt;h1&gt;&lt;span class=\"header\"&gt;Lorem Ipsum&lt;\/span &gt; Lorem Ipsum &lt;\/h1&gt;\n    &lt;p&gt;Lorem ipsum dolor sit amet, ...&lt;\/p&gt;\n    &lt;h1&gt;&lt;span class=\"header\"&gt;Aenean varius porta&lt;\/span&gt; Aenean varius porta &lt;\/h1&gt;\n    &lt;p&gt;Proin vestibulum. Phasellus lacus magna, ...&lt;\/p&gt;\n    ...\n<\/pre>\n<p>\u3053\u3053\u3067\u3001<tt>&lt;span class=\"header\"&gt;<\/tt> \u306e\u5185\u5bb9\u304c\u67f1\u3068\u306a\u308a\u307e\u3059\u3002\u3053\u306e\u5185\u5bb9\u306f\u3001\u672c\u6587\u4e2d\u306b\u306f\u8868\u793a\u3055\u308c\u307e\u305b\u3093\u3002<\/li>\n<li>\u30da\u30fc\u30b8\u4e2d\u306b\u51fa\u73fe\u3059\u308b\u8907\u6570\u306e\u67f1\u306e\u8981\u7d20\u306b\u5bfe\u3057\u3066\u3001element \u306b first \u3092\u6307\u5b9a\u3059\u308b\u3068\u6700\u521d\u306b\u51fa\u73fe\u3057\u305f\u67f1\u304c\u3001last \u3092\u6307\u5b9a\u3059\u308b\u3068\u6700\u5f8c\u306b\u51fa\u73fe\u3057\u305f\u67f1\u304c\u63a1\u7528\u3055\u308c\u307e\u3059\u3002\u67f1\u306e\u8981\u7d20\u304c\u51fa\u73fe\u3057\u306a\u3051\u308c\u3070\u3001\u76f4\u524d\u306e\u30da\u30fc\u30b8\u306e\u67f1\u3068\u540c\u3058\u67f1\u3068\u306a\u308a\u307e\u3059\u3002<\/li>\n<li>\u3064\u3044\u3067\u306b\u3001\u30ce\u30f3\u30d6\u30eb\u3092\u4ed8\u3051\u308b\u306b\u306f\u6b21\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002\n<pre>    @bottom-center {\n      content: \"-\" counter(page) \"-\";\n    }\n<\/pre>\n<p>\u3053\u306e\u4f8b\u3067\u306f\u3001\u30da\u30fc\u30b8\u306e\u4e0b\u4e2d\u592e\u306b &#8220;- 1 -&#8220;, &#8220;- 2 -&#8220;&#8230; \u3068\u30ce\u30f3\u30d6\u30eb\u3092\u51fa\u529b\u3057\u307e\u3059\u3002<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CSS \u3067\u306e\u7c21\u5358\u306a\u67f1\u306e\u5b9f\u73fe\u65b9\u6cd5\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002FO \u3067\u306e\u67f1\u306f\u3001&lt;fo:marker&gt; \u3068 &lt;fo:static-content&gt; \u306a\u3069\u3092\u5229\u7528\u3057\u3066\u884c\u306a\u3044\u307e\u3059\u304c\u3001CSS \u3067\u306f\u307e\u3063\u305f\u304f\u7570\u306a\u308b\u65b9\u6cd5\u3067\u884c\u306a\u3044\u307e [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14,16],"tags":[],"class_list":["post-4157","post","type-post","status-publish","format-standard","hentry","category-14","category-structured-doc"],"_links":{"self":[{"href":"https:\/\/blog.antenna.co.jp\/ILSoft2\/wp-json\/wp\/v2\/posts\/4157","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.antenna.co.jp\/ILSoft2\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.antenna.co.jp\/ILSoft2\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.antenna.co.jp\/ILSoft2\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.antenna.co.jp\/ILSoft2\/wp-json\/wp\/v2\/comments?post=4157"}],"version-history":[{"count":0,"href":"https:\/\/blog.antenna.co.jp\/ILSoft2\/wp-json\/wp\/v2\/posts\/4157\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.antenna.co.jp\/ILSoft2\/wp-json\/wp\/v2\/media?parent=4157"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.antenna.co.jp\/ILSoft2\/wp-json\/wp\/v2\/categories?post=4157"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.antenna.co.jp\/ILSoft2\/wp-json\/wp\/v2\/tags?post=4157"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}