{"id":1388,"date":"2019-02-14T11:09:20","date_gmt":"2019-02-14T02:09:20","guid":{"rendered":"http:\/\/css.programming.jp\/?p=1388"},"modified":"2019-02-14T11:09:20","modified_gmt":"2019-02-14T02:09:20","slug":"%e3%82%b9%e3%83%a9%e3%82%a4%e3%83%80%e3%83%bc%e5%b7%a6%e5%8f%b3%e7%a7%bb%e5%8b%95%e5%9e%8b%ef%bc%92%e3%83%ac%e3%82%b9%e3%83%9d%e3%83%b3%e3%82%b7%e3%83%96","status":"publish","type":"post","link":"https:\/\/css.programming.jp\/?p=1388","title":{"rendered":"\u30b9\u30e9\u30a4\u30c0\u30fc\/\u5de6\u53f3\u79fb\u52d5\u578b\uff12(\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6)"},"content":{"rendered":"<p>\u3000\u5de6\u53f3\u306b\u30b9\u30e9\u30a4\u30c9\u3059\u308b\u5f62\u5f0f\u306e\u30b9\u30e9\u30a4\u30c0\u30fc\u3092\u300c<a href=\"http:\/\/css.programming.jp\/?p=933\" title=\"\u30b9\u30e9\u30a4\u30c0\u30fc\/\u5de6\u53f3\u79fb\u52d5\u578b(\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6)\">\u30b9\u30e9\u30a4\u30c0\u30fc\/\u5de6\u53f3\u79fb\u52d5\u578b(\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6)<\/a>\u300d\u3068\u3057\u3066\u6295\u7a3f\u6e08\u307f\u3067\u3042\u308b\u304c\u3001\u3053\u306e\u30bf\u30a4\u30d7\u306f\u3001\u623b\u308b\u30dc\u30bf\u30f3\uff08\u5de6\u5074\u306e\u30b9\u30e9\u30a4\u30c9\u3092\u767b\u5834\u3055\u305b\u308b\uff09\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u5de6\u65b9\u5411\u306e\u30b9\u30e9\u30a4\u30c9\u30b7\u30e7\u30fc\u306b\u5207\u308a\u66ff\u308f\u308b\u3002\u4e16\u306e\u4e2d\u3067\u4f7f\u308f\u308c\u3066\u3044\u308b\u591a\u304f\u306e\u30b9\u30e9\u30a4\u30c0\u30fc\u306e\u5834\u5408\u306f\u3001\u623b\u308b\u30dc\u30bf\u30f3\u3067\u5de6\u65b9\u5411\u306b\u623b\u3063\u3066\u3082\u3001\u53f3\u65b9\u5411\u3078\u306e\u30b9\u30e9\u30a4\u30c9\u30b7\u30e7\u30fc\u304c\u5c55\u958b\u3059\u308b\u3002<br \/>\n\u3000\u305d\u3053\u3067\u3001<strong>\u30b9\u30e9\u30a4\u30c9\u30b7\u30e7\u30fc\u306f\u5e38\u306b\u53f3\u65b9\u5411\u3067\u5c55\u958b\u3059\u308b\u30bf\u30a4\u30d7\u306e\u30b9\u30e9\u30a4\u30c0\u30fc<\/strong>\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u305f\u3002<br \/>\n\u3000\u305f\u3060\u3057\u3001css animation \u306e\u5236\u7d04\u3067\u3001\u9032\u884c\u4e2d\u306eanimation\u3092\u7d9a\u3051\u3066\u30b9\u30bf\u30fc\u30c8\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u306a\u3044\u3068\u3044\u3046\u3053\u3068\u304c\u3042\u308a\u3001\u623b\u308b\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u524d\u306e\u30b9\u30e9\u30a4\u30c9\u306b\u623b\u308a\u3001\u518d\u3073\u30af\u30ea\u30c3\u30af\u3057\u305f\u30b9\u30e9\u30a4\u30c9\u306b\u623b\u3063\u305f\u6642\u306b\u623b\u308b\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u305f\u30b1\u30fc\u30b9\u3067\u306f\u52d5\u4f5c\u3057\u306a\u3044\u3002\u3053\u3046\u8a00\u3063\u305f\u30b1\u30fc\u30b9\u306f\u307e\u308c\u3060\u3068\u601d\u3044\u3001\u5b9f\u7528\u7684\u306b\u306f\u4f7f\u3048\u308b\u306e\u304b\u306a\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u3053\u3053\u306b\u6295\u7a3f\u3057\u307e\u3059\u3002\u3053\u306e\u3088\u3046\u306a\u73fe\u8c61\u3092\u56de\u907f\u3059\u308b\u65b9\u6cd5\u3068\u3057\u3066\u306f\u3001\u9032\u884c\u4e2d\u306eanimation\u3092javascript\u3067\u524a\u9664\u3059\u308b\u65b9\u6cd5\u304cweb\u4e0a\u3067\u591a\u6570\u7d39\u4ecb\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u305d\u3061\u3089\u3092\u53c2\u8003\u306b\u3057\u3066\u3044\u305f\u3060\u304d\u305f\u3044\u3002<\/p>\n<h4>\u30b5\u30f3\u30d7\u30eb\uff08DEMO\uff09<\/h4>\n<p> <a href=\"http:\/\/css.programming.jp\/pages\/slider_slide2_responsive_oneway.html\" rel=\"noopener\" target=\"_blank\"><strong>\u3053\u3061\u3089\u306e\u5225\u30da\u30fc\u30b8\u306b\u3042\u308a\u307e\u3059\u3002<\/strong><\/a><\/p>\n<h4>\u672c\u30b5\u30f3\u30d7\u30eb\u8868\u793a\u7528HTML<\/h4>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&lt;div id=&quot;stage&quot;&gt;\r\n    &lt;input type=&quot;radio&quot; id=&quot;back1&quot; name=&quot;gal&quot;&gt;\r\n    &lt;input type=&quot;radio&quot; id=&quot;back2&quot; name=&quot;gal&quot;&gt;\r\n    &lt;input type=&quot;radio&quot; id=&quot;back3&quot; name=&quot;gal&quot;&gt;\r\n    &lt;input type=&quot;radio&quot; id=&quot;back4&quot; name=&quot;gal&quot;&gt;\r\n    &lt;input type=&quot;radio&quot; id=&quot;back5&quot; name=&quot;gal&quot;&gt;\r\n    &lt;input type=&quot;radio&quot; id=&quot;next1&quot; name=&quot;gal&quot;&gt;\r\n    &lt;input type=&quot;radio&quot; id=&quot;next2&quot; name=&quot;gal&quot;&gt;\r\n    &lt;input type=&quot;radio&quot; id=&quot;next3&quot; name=&quot;gal&quot;&gt;\r\n    &lt;input type=&quot;radio&quot; id=&quot;next4&quot; name=&quot;gal&quot;&gt;\r\n    &lt;input type=&quot;radio&quot; id=&quot;next5&quot; name=&quot;gal&quot;&gt;\r\n  &lt;div id=&quot;photos&quot;&gt;\r\n      &lt;div id=&quot;photo0&quot; class=&quot;pic&quot;&gt;&lt;img src=&quot;wp-images\/5.jpg&quot;&gt;\r\n      &lt;\/div&gt;\r\n      &lt;div id=&quot;photo1&quot; class=&quot;pic&quot;&gt;&lt;img src=&quot;wp-images\/1.jpg&quot;&gt;\r\n\t    &lt;label for=&quot;back1&quot;&gt;&lt;div id=&quot;left1&quot; class=&quot;b_left&quot;&gt;&lt;span&gt;\uff1c&lt;\/span&gt;&lt;\/div&gt;&lt;\/label&gt; \r\n\t    &lt;label for=&quot;next1&quot;&gt;&lt;div id=&quot;right1&quot; class=&quot;b_right&quot;&gt;&lt;span&gt;\uff1e&lt;\/span&gt;&lt;\/div&gt;&lt;\/label&gt;\r\n      &lt;\/div&gt;\r\n      &lt;div id=&quot;photo2&quot; class=&quot;pic&quot;&gt;&lt;img src=&quot;wp-images\/2.jpg&quot;&gt;\r\n\t    &lt;label for=&quot;back2&quot;&gt;&lt;div id=&quot;left2&quot; class=&quot;b_left&quot;&gt;&lt;span&gt;\uff1c&lt;\/span&gt;&lt;\/div&gt;&lt;\/label&gt;\r\n    \t&lt;label for=&quot;next2&quot;&gt;&lt;div id=&quot;right2&quot; class=&quot;b_right&quot;&gt;&lt;span&gt;\uff1e&lt;\/span&gt;&lt;\/div&gt;&lt;\/label&gt;\r\n      &lt;\/div&gt;\r\n      &lt;div id=&quot;photo3&quot; class=&quot;pic&quot;&gt;&lt;img src=&quot;wp-images\/3.jpg&quot;&gt;\r\n\t    &lt;label for=&quot;back3&quot;&gt;&lt;div id=&quot;left3&quot; class=&quot;b_left&quot;&gt;&lt;span&gt;\uff1c&lt;\/span&gt;&lt;\/div&gt;&lt;\/label&gt;\r\n    \t&lt;label for=&quot;next3&quot;&gt;&lt;div id=&quot;right3&quot; class=&quot;b_right&quot;&gt;&lt;span&gt;\uff1e&lt;\/span&gt;&lt;\/div&gt;&lt;\/label&gt;        \r\n      &lt;\/div&gt;\r\n      &lt;div id=&quot;photo4&quot; class=&quot;pic&quot;&gt;&lt;img src=&quot;wp-images\/4.jpg&quot;&gt;\r\n    \t&lt;label for=&quot;back4&quot;&gt;&lt;div id=&quot;left4&quot; class=&quot;b_left&quot;&gt;&lt;span&gt;\uff1c&lt;\/span&gt;&lt;\/div&gt;&lt;\/label&gt;\r\n    \t&lt;label for=&quot;next4&quot;&gt;&lt;div id=&quot;right4&quot; class=&quot;b_right&quot;&gt;&lt;span&gt;\uff1e&lt;\/span&gt;&lt;\/div&gt;&lt;\/label&gt;\r\n      &lt;\/div&gt;\r\n      &lt;div id=&quot;photo5&quot; class=&quot;pic&quot;&gt;&lt;img src=&quot;wp-images\/5.jpg&quot;&gt;\r\n    \t&lt;label for=&quot;back5&quot;&gt;&lt;div id=&quot;left5&quot; class=&quot;b_left&quot;&gt;&lt;span&gt;\uff1c&lt;\/span&gt;&lt;\/div&gt;&lt;\/label&gt;\r\n    \t&lt;label for=&quot;next5&quot;&gt;&lt;div id=&quot;right5&quot; class=&quot;b_right&quot;&gt;&lt;span&gt;\uff1e&lt;\/span&gt;&lt;\/div&gt;&lt;\/label&gt;\r\n      &lt;\/div&gt;\r\n      &lt;div id=&quot;photo6&quot; class=&quot;pic&quot;&gt;&lt;img src=&quot;wp-images\/1.jpg&quot;&gt;\r\n      &lt;\/div&gt;\r\n    &lt;\/div&gt;\r\n   &lt;div style=&quot;padding:28%;&quot;&gt;&lt;\/div&gt;\r\n&lt;\/div&gt;\r\n<\/pre>\n<h4>\u672c\u30b5\u30f3\u30d7\u30eb\u8868\u793a\u7528CSS<\/h4>\n<pre class=\"brush: css; title: ; notranslate\" title=\"\">\r\n\/* \u8868\u793a\u753b\u9762 *\/\r\n#stage {\r\n\tposition: relative;\r\n\tmax-width: 600px;\r\n\tmargin: 0 auto;\r\n\toverflow: hidden;\r\n}\r\n\/*\u5168\u3066\u306e\u5199\u771f\u3092\u6c34\u5e73\u4e00\u5217\u306b\u683c\u7d0d\u3057\u305fdiv\u3001#photos\u306b,\r\n\u30b9\u30e9\u30a4\u30c9\u30b7\u30e7\u30fc\u306e animation \u3092\u8a2d\u5b9a*\/\r\n#photos {\r\n\tposition:absolute;\r\n\ttop:0;\r\n\twidth:100%;\r\n\tanimation: imgPassToLeft0 30s infinite;\r\n\t-webkit-animation: imgPassToLeft0 30s infinite;\r\n}\r\n\/*\u5404\u5199\u771f\u306e\u4e26\u3073\u4f4d\u7f6e\u3092\u8a2d\u5b9a\r\n#photo1, #photo2, #photo3, #photo4, #photo5 *\/\r\n#photo0 { left:  0%; }\r\n#photo1 { left:100%; } \r\n#photo2 { left:200%; }\r\n#photo3 { left:300%; }\r\n#photo4 { left:400%; }\r\n#photo5 { left:500%; }\r\n#photo6 { left:600%; }\r\n.pic { position:absolute;top:0;width:100%; }\r\n\/*\u5199\u771f\u30b5\u30a4\u30ba\u3092\u53ef\u5909\u306b*\/\r\n.pic img { width:100%; }\r\n\r\n\/* \u5168\u3066\u306e\u30e9\u30b8\u30aa\u30dc\u30bf\u30f3\u3092\u975e\u8868\u793a\u306b *\/\r\n#back1,#back2,#back3,#back4,#back5,#next1,#next2,#next3,#next4,#next5{\r\n\tdisplay: none;\r\n}\r\n\/*\u9001\u308a\u30dc\u30bf\u30f3\u6587\u5b57\uff08\uff1c\u3001\uff1e\uff09\u306e\u8a2d\u5b9a*\/\r\n.b_left span, .b_right span {\r\n\tposition: absolute;\r\n\tfont-family: &quot;\u30d2\u30e9\u30ae\u30ce\u89d2\u30b4 Pro W3&quot;, &quot;Hiragino Kaku Gothic Pro&quot;, &quot;\u30e1\u30a4\u30ea\u30aa&quot;, Meiryo, Osaka, &quot;\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af&quot;, &quot;MS PGothic&quot;, sans-serif;\r\n\tfont-size: 40px;\r\n\tfont-weight: bold;\r\n\topacity:0;\r\n\ttop: 40%;\r\n\tcolor:#EEE;\r\n}\r\n.b_left span {\r\n\tleft: 5%;;\t\r\n}\r\n.b_right span {\r\n\tleft: 85%;\r\n}\r\n\/*\u30dc\u30bf\u30f3\u6587\u5b57hover\u6642\u306e\u8a2d\u5b9a*\/\r\n.pic:hover &gt; label div span {\r\n\topacity:1;\r\n\tcolor:#EEE;\r\n}\r\n.pic label div span:hover {\r\n\tcolor:#f00;\r\n\tcursor:pointer;\r\n}\r\n\/* \u5404\u9001\u308a\u30dc\u30bf\u30f3\u30af\u30ea\u30c3\u30af\u6642\u306eanimation\u8a2d\u5b9a *\/\r\n#next1:checked ~ #photos {\r\n\tanimation: imgPassToLeft1 30s infinite;\t\r\n\tanimation-delay: -4.8s;\r\n\t-webkit-animation: imgPassToLeft1 30s infinite;\t\r\n\t-webkit-animation-delay: -4.8s;\r\n}\r\n#next2:checked ~ #photos {\t\r\n\tanimation: imgPassToLeft2 30s infinite;\r\n\tanimation-delay: -10.8s;\r\n\t-webkit-animation: imgPassToLeft2 30s infinite;\r\n\t-webkit-animation-delay: -10.8s;\r\n}\r\n#next3:checked ~ #photos {\r\n\tanimation: imgPassToLeft3 30s infinite;\r\n\tanimation-delay: -16.8s;\r\n\t-webkit-animation: imgPassToLeft3 30s infinite;\r\n\t-webkit-animation-delay: -16.8s;\r\n}\r\n#next4:checked ~ #photos {\r\n\tanimation: imgPassToLeft4 30s infinite;\r\n\tanimation-delay: -22.8s;\r\n\t-webkit-animation: imgPassToLeft4 30s infinite;\r\n\t-webkit-animation-delay: -22.8s;\r\n}\r\n#next5:checked ~ #photos {\r\n\tanimation: imgPassToLeft5 30s infinite;\r\n\tanimation-delay: -28.8s;\r\n\t-webkit-animation: imgPassToLeft5 30s infinite;\r\n\t-webkit-animation-delay: -28.8s;\r\n}\r\n#back1:checked ~ #photos {\r\n\tanimation: toRight1 6s 0s forwards, imgPassToRight1 30s 6s infinite;\r\n}\r\n#back2:checked ~ #photos {\r\n\tanimation: toRight2 6s 0s forwards, imgPassToRight2 30s 6s infinite;\r\n}\r\n#back3:checked ~ #photos {\r\n\tanimation: toRight3 6s 0s forwards, imgPassToRight3 30s 6s infinite;\r\n}\r\n#back4:checked ~ #photos {\r\n\tanimation: toRight4 6s 0s forwards, imgPassToRight4 30s 6s infinite;\r\n}\r\n#back5:checked ~ #photos {\r\n\tanimation: toRight5 6s 0s forwards, imgPassToRight5 30s 6s infinite;\r\n}\r\n\/* animation\u8a2d\u5b9a *\/\r\n@keyframes imgPassToLeft0 {\r\n\t0%  { left:-100%; }\r\n\t16% { left:-100%; }\r\n\t20% { left:-200%; }\r\n\t36% { left:-200%; }\r\n\t40% { left:-300%; }\r\n\t56% { left:-300%; }\r\n\t60% { left:-400%; }\r\n\t76% { left:-400%; }\r\n\t80% { left:-500%; }\r\n\t96% { left:-500%; }\r\n\t100% { left:-600%; }\r\n}\r\n@-webkit-keyframes imgPassToLeft0 {\r\n\t0%  { left:-100%; }\r\n\t16% { left:-100%; }\r\n\t20% { left:-200%; }\r\n\t36% { left:-200%; }\r\n\t40% { left:-300%; }\r\n\t56% { left:-300%; }\r\n\t60% { left:-400%; }\r\n\t76% { left:-400%; }\r\n\t80% { left:-500%; }\r\n\t96% { left:-500%; }\r\n\t100% { left:-600%; }\r\n}\r\n@keyframes imgPassToLeft1 {\r\n\t0% { left:-100%; }\r\n\t16% { left:-100%; }\r\n\t20% { left:-200%; }\r\n\t36% { left:-200%; }\r\n\t40% { left:-300%; }\r\n\t56% { left:-300%; }\r\n\t60% { left:-400%; }\r\n\t76% { left:-400%; }\r\n\t80% { left:-500%; }\r\n\t96% { left:-500%; }\r\n\t100% { left:-600%; }\r\n}\r\n@-webkit-keyframes imgPassToLeft1 {\r\n\t0% { left:-100%; }\r\n\t16% { left:-100%; }\r\n\t20% { left:-200%; }\r\n\t36% { left:-200%; }\r\n\t40% { left:-300%; }\r\n\t56% { left:-300%; }\r\n\t60% { left:-400%; }\r\n\t76% { left:-400%; }\r\n\t80% { left:-500%; }\r\n\t96% { left:-500%; }\r\n\t100% { left:-600%; }\r\n}\r\n@keyframes imgPassToLeft2 {\r\n\t0% { left:-100%; }\r\n\t16% { left:-100%; }\r\n\t20% { left:-200%; }\r\n\t36% { left:-200%; }\r\n\t40% { left:-300%; }\r\n\t56% { left:-300%; }\r\n\t60% { left:-400%; }\r\n\t76% { left:-400%; }\r\n\t80% { left:-500%; }\r\n\t96% { left:-500%; }\r\n\t100% { left:-600%; }\r\n}\r\n@keyframes imgPassToLeft3 {\r\n\t0% { left:-100%; }\r\n\t16% { left:-100%; }\r\n\t20% { left:-200%; }\r\n\t36% { left:-200%; }\r\n\t40% { left:-300%; }\r\n\t56% { left:-300%; }\r\n\t60% { left:-400%; }\r\n\t76% { left:-400%; }\r\n\t80% { left:-500%; }\r\n\t96% { left:-500%; }\r\n\t100% { left:-600%; }\r\n}\r\n@keyframes imgPassToLeft4 {\r\n\t0% { left:-100%; }\r\n\t16% { left:-100%; }\r\n\t20% { left:-200%; }\r\n\t36% { left:-200%; }\r\n\t40% { left:-300%; }\r\n\t56% { left:-300%; }\r\n\t60% { left:-400%; }\r\n\t76% { left:-400%; }\r\n\t80% { left:-500%; }\r\n\t96% { left:-500%; }\r\n\t100% { left:-600%; }\r\n}\r\n@keyframes imgPassToLeft5 {\r\n\t0% { left:-100%; }\r\n\t16% { left:-100%; }\r\n\t20% { left:-200%; }\r\n\t36% { left:-200%; }\r\n\t40% { left:-300%; }\r\n\t56% { left:-300%; }\r\n\t60% { left:-400%; }\r\n\t76% { left:-400%; }\r\n\t80% { left:-500%; }\r\n\t96% { left:-500%; }\r\n\t100% { left:-600%; }\r\n}\r\n@keyframes imgPassToRight1 {\r\n\t0% { left: 0%; }\r\n\t4% { left: -100%; }\r\n\t20% { left:-100%; }\r\n\t24% { left:-200%; }\r\n\t40% { left:-200%; }\r\n\t44% { left:-300%; }\r\n\t60% { left:-300%; }\r\n\t64% { left:-400%; }\r\n\t80% { left:-400%; }\r\n\t84% { left:-500%; }\r\n\t100% { left:-500%; }\r\n}\r\n@keyframes imgPassToRight2 {\r\n\t0% { left: -100%; }\r\n\t4% { left: -200%; }\r\n\t20% { left:-200%; }\r\n\t24% { left:-300%; }\r\n\t40% { left:-300%; }\r\n\t44% { left:-400%; }\r\n\t60% { left:-400%; }\r\n\t64% { left:-500%; }\r\n\t80% { left:-500%; }\r\n\t83.999% { left:-600%; }\r\n\t84% { left:-100%; }\r\n\t100% { left:-100%; }\r\n}\r\n@keyframes imgPassToRight3 {\r\n\t0% { left: -200%; }\r\n\t4% { left: -300%; }\r\n\t20% { left:-300%; }\r\n\t24% { left:-400%; }\r\n\t40% { left:-400%; }\r\n\t44% { left:-500%; }\r\n\t60% { left:-500%; }\r\n\t63.999% { left:-600%; }\r\n\t64% { left:-100%; }\r\n\t80% { left:-100%; }\r\n\t84% { left:-200%; }\r\n\t100% { left:-200%; }\r\n}\r\n@keyframes imgPassToRight4 {\r\n\t0% { left: -300%; }\r\n\t4% { left: -400%; }\r\n\t20% { left:-400%; }\r\n\t24% { left:-500%; }\r\n\t40% { left:-500%; }\r\n\t43.999% { left:-600%; }\r\n\t44% { left:-100%; }\r\n\t60% { left:-100%; }\r\n\t64% { left:-200%; }\r\n\t80% { left:-200%; }\r\n\t84% { left:-300%; }\r\n\t100% { left:-300%; }\r\n}\r\n@keyframes imgPassToRight5 {\r\n\t0% { left: -400%; }\r\n\t4% { left: -500%; }\r\n\t20% { left:-500%; }\r\n\t23.999% { left:-600%; }\r\n\t24% { left:-100%; }\r\n\t40% { left:-100%; }\r\n\t44% { left:-200%; }\r\n\t60% { left:-200%; }\r\n\t64% { left:-300%; }\r\n\t80% { left:-300%; }\r\n\t84% { left:-400%; }\r\n\t100% { left:-400%; }\r\n}\r\n@keyframes toRight1 {\r\n\t0% { left:-100%; }\r\n\t19.999% { left:0%; }\r\n\t20% { left: -500%; }\r\n\t100% { left:-500%; display:none;}\r\n}\r\n@keyframes toRight2 {\r\n\t0% { left:-200%; }\r\n\t20% { left: -100%; }\r\n\t100% { left:-100%; display:none;}\r\n}\r\n@keyframes toRight3 {\r\n\t0% { left:-300%; }\r\n\t20% { left: -200%; }\r\n\t100% { left:-200%; display:none;}\r\n}\r\n@keyframes toRight4 {\r\n\t0% { left:-400%; }\r\n\t20% { left: -300%; }\r\n\t100% { left: -300%; display:none;}\r\n}\r\n@keyframes toRight5 {\r\n\t0% { left:-500%; }\r\n\t20% { left: -400%; }\r\n\t100% { left: -400%; display:none;}\r\n}\r\n&lt;\/style&gt;\r\n<\/pre>\n<h4>CSS\u306e\u30dd\u30a4\u30f3\u30c8\u8aac\u660e<\/h4>\n<p>\u30fb\u300c\u30b9\u30e9\u30a4\u30c0\u30fc\/\u5de6\u53f3\u79fb\u52d5\u578b(\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6)\u300d\u3068\u306e\u9055\u3044\u306f\u3001\u623b\u308b\uff08\uff1c\uff09\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u305f\u3068\u304d\u306b\u767a\u751f\u3059\u308banimation\u3067<br \/>\n\u30fb\u5de6\u306e\u30b9\u30e9\u30a4\u30c9\u3092\u53f3\u65b9\u5411\u30b9\u30e9\u30a4\u30f3\u30c9\u30a4\u30f3\u3067\u767b\u5834\u3055\u305b\u308banimation(1)\u3068\u3001\u5f15\u304d\u7d9a\u304d\u30b9\u30e9\u30a4\u30c9\u30b7\u30e7\u30fc\u3092\u5c55\u958b\u3059\u308banimation(2)\u306e\u4e8c\u3064\u306eanimation\u3092\u518d\u751f\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u3044\u308b<br \/>\n\u30fbanimation(1)\u306f\u30016\u79d2\uff08\u30b9\u30e9\u30a4\u30c9\u5207\u63db\u3048\u6642\u9593\uff09\u306e\u767b\u5834\u7d42\u4e86\u3067\u305d\u306e\u307e\u307e\u306e\u72b6\u614b\u3092\u7dad\u6301\u3057\u3001animation(2)\u306f\u30016\u79d2\u5f8c\u306b\u518d\u751f\u304c\u59cb\u307e\u308b\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u3066\u3044\u308b<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3000\u5de6\u53f3\u306b\u30b9\u30e9\u30a4\u30c9\u3059\u308b\u5f62\u5f0f\u306e\u30b9\u30e9\u30a4\u30c0\u30fc\u3092\u300c\u30b9\u30e9\u30a4\u30c0\u30fc\/\u5de6\u53f3\u79fb\u52d5\u578b(\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6)\u300d\u3068\u3057\u3066\u6295\u7a3f\u6e08\u307f\u3067\u3042\u308b\u304c\u3001\u3053\u306e\u30bf\u30a4\u30d7\u306f\u3001\u623b\u308b\u30dc\u30bf\u30f3\uff08\u5de6\u5074\u306e\u30b9\u30e9\u30a4\u30c9\u3092\u767b\u5834\u3055\u305b\u308b\uff09\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u5de6\u65b9\u5411\u306e\u30b9\u30e9\u30a4\u30c9\u30b7\u30e7\u30fc\u306b\u5207\u308a\u66ff\u308f\u308b\u3002\u4e16\u306e\u4e2d\u3067\u4f7f &hellip; <a class=\"more-link\" href=\"https:\/\/css.programming.jp\/?p=1388\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"class_list":["post-1388","post","type-post","status-publish","format-standard","hentry","category-10"],"_links":{"self":[{"href":"https:\/\/css.programming.jp\/index.php?rest_route=\/wp\/v2\/posts\/1388","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/css.programming.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/css.programming.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/css.programming.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/css.programming.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1388"}],"version-history":[{"count":9,"href":"https:\/\/css.programming.jp\/index.php?rest_route=\/wp\/v2\/posts\/1388\/revisions"}],"predecessor-version":[{"id":1397,"href":"https:\/\/css.programming.jp\/index.php?rest_route=\/wp\/v2\/posts\/1388\/revisions\/1397"}],"wp:attachment":[{"href":"https:\/\/css.programming.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1388"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/css.programming.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1388"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/css.programming.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1388"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}