{"id":381,"date":"2014-03-10T13:46:41","date_gmt":"2014-03-10T04:46:41","guid":{"rendered":"http:\/\/css.programming.jp\/?p=381"},"modified":"2015-02-27T17:30:04","modified_gmt":"2015-02-27T08:30:04","slug":"%e3%82%b5%e3%83%a0%e3%83%8d%e3%82%a4%e3%83%ab%e3%81%8c%e5%9b%9e%e8%bb%a2%e3%83%bb%e6%8b%a1%e5%a4%a7","status":"publish","type":"post","link":"https:\/\/css.programming.jp\/?p=381","title":{"rendered":"\u30b5\u30e0\u30cd\u30a4\u30eb\u304c\u56de\u8ee2\u30fb\u62e1\u5927"},"content":{"rendered":"<p>\u3053\u306e\u30d5\u30a9\u30c8\u30ae\u30e3\u30e9\u30ea\u30fc\u306f\u3001css \u306e animation \u306b\u52a0\u3048\u3066 transform \u30d7\u30ed\u30d1\u30c6\u30a3\u30fc\u3092\u4f7f\u3063\u3066\u3001\u30b5\u30e0\u30cd\u30a4\u30eb\u306b\u89d2\u5ea6\u3092\u3064\u3051\u305f\u308a\u3001\u56de\u8ee2\u3055\u305b\u305f\u308a\u3059\u308b\u30d3\u30b8\u30e5\u30a2\u30eb\u52b9\u679c\u3092\u52a0\u5473\u3057\u305f\u3082\u306e\u3067\u3042\u308b\u3002\u5199\u771f\u306f600*338pix\u306e\u3082\u306e\u30926\u679a\u7528\u610f\u3057\u3001\u3053\u308c\u3089\u3092 120*68pix\u306b\u7e2e\u5c0f\u3057\u3001transfom \u3067 60\u00b0 \u305a\u3064\u305a\u3089\u3057\u3066\u50be\u3051\u3001\u305d\u308c\u305e\u308c\u3092\u516d\u89d2\u5f62\u306e\u8fba\u306b\u914d\u7f6e\u3059\u308b\u3088\u3046\u306b\u3057\u305f\u3002\u66f4\u306b\u3001\u3053\u306e\u30b5\u30e0\u30cd\u30a4\u30eb\u306e\u3069\u308c\u304b\u304c\u30af\u30ea\u30c3\u30af\u3055\u308c\u308b\u3068\u3001\u5168\u4f53\u304c\u56de\u8ee2\u3057\u306a\u304c\u3089\u4e2d\u5fc3\u306b\u96c6\u307e\u308a\u3001\u30af\u30ea\u30c3\u30af\u306b\u8a72\u5f53\u3059\u308b\u5199\u771f\u3060\u3051\u304c\u5143\u306e\u30b5\u30a4\u30ba\u3067\u62e1\u5927\u8868\u793a\u3055\u308c\u308b\u3088\u3046\u306b\u3057\u305f\u3082\u306e\u3067\u3042\u308b\u3002<br \/>\u3053\u3053\u3067\u306f\u3001\u516d\u89d2\u5f62\u3067\u3042\u308b\u304c\u3001\u4ed6\u306e\u591a\u89d2\u5f62\u3067\u3082\u540c\u3058\u69d8\u306b\u4f5c\u6210\u53ef\u80fd\u3067\u3042\u308b\u3002<br \/>\n\u30b5\u30f3\u30d7\u30eb\u306f\u57fa\u672c\u7684\u306a\u3082\u306e\u3067\u3001\u516d\u89d2\u5f62\u306e\u4e2d\u306b\u6587\u5b57\u3084\u5199\u771f\u3092\u5165\u308c\u305f\u308a\u3001\u5199\u771f\u304c\u5207\u308a\u66ff\u308f\u308b\u305f\u3073\u306b\u5199\u771f\u306e\u4e0b\u306b\u984c\u540d\u3092\u8868\u793a\u3057\u305f\u308a\u3059\u308b\u3068\u3088\u308a\u5b8c\u6210\u5ea6\u306e\u9ad8\u3044\u3082\u306e\u3068\u306a\u308b\u3068\u601d\u3046\u304c\u3001\u3053\u3053\u3067\u306f\u7701\u7565\u3059\u308b\u3002<\/p>\n<h4>\u30b5\u30f3\u30d7\u30eb<\/h4>\n<p><input type=\"radio\" id=\"r1\" name=\"gal\"><br \/>\n<input type=\"radio\" id=\"r2\" name=\"gal\"><br \/>\n<input type=\"radio\" id=\"r3\" name=\"gal\"><br \/>\n<input type=\"radio\" id=\"r4\" name=\"gal\"><br \/>\n<input type=\"radio\" id=\"r5\" name=\"gal\"><br \/>\n<input type=\"radio\" id=\"r6\" name=\"gal\"><br \/>\n<input type=\"radio\" id=\"r7\" name=\"gal\"><\/p>\n<div id=\"stage\">\n<div id=\"thumbs\">\n\t<label for=\"r1\"><img decoding=\"async\" src=\"wp-images\/1.jpg\"><\/label><br \/>\n\t<label for=\"r2\"><img decoding=\"async\" src=\"wp-images\/2.jpg\"><\/label><br \/>\n\t<label for=\"r3\"><img decoding=\"async\" src=\"wp-images\/3.jpg\"><\/label><br \/>\n\t<label for=\"r4\"><img decoding=\"async\" src=\"wp-images\/4.jpg\"><\/label><br \/>\n\t<label for=\"r5\"><img decoding=\"async\" src=\"wp-images\/5.jpg\"><\/label><br \/>\n\t<label for=\"r6\"><img decoding=\"async\" src=\"wp-images\/6.jpg\"><\/label>\n  <\/div>\n<\/div>\n<div id=\"close_btn\"><label for=\"r7\">\u2613 \u9589\u3058\u308b<\/label><\/div>\n<p><!-- \u3053\u3053\u304b\u3089CSS  --><\/p>\n<style type=\"text\/css\">\nbody { margin:0 }\n#r1,#r2,#r3,#r4,#r5,#r6,#r7 {\n\tdisplay:none;\n}\n#stage {\n\tposition:relative;\n\twidth:620px;\n\theight:400px;\n\tbackground:#000;\n}\n#thumbs {\n\twidth:620px;\n\theight:400px;\n}\n#thumbs label img {\n\tposition:absolute;\n\twidth:120px;\n\theight:68px;\n\ttop:28px;\n\tleft:240px;\n\tborder:#fff solid 2px;\n\tcursor:pointer;\n}\n#thumbs label img:hover {\n\tborder:#f00 solid 2px;\n}\nlabel[for=\"r1\"] img {\n\t-webkit-transform-origin:50% 253%;\n\t-webkit-transform:rotate(0deg);\n\ttransform-origin:50% 253%;\n\ttransform:rotate(0deg);\n}\nlabel[for=\"r2\"] img {\n\t-webkit-transform-origin:50% 253%;\n\t-webkit-transform:rotate(60deg);\n\ttransform-origin:50% 253%;\n\ttransform:rotate(60deg);\n}\nlabel[for=\"r3\"] img { \n\t-webkit-transform-origin:50% 253%;\n\ttransform-origin:50% 253%;\n\t-webkit-transform:rotate(120deg);\n\ttransform:rotate(120deg);\n}\nlabel[for=\"r4\"] img {\n\t-webkit-transform-origin:50% 253%;\n\ttransform-origin:50% 253%;\n\t-webkit-transform:rotate(180deg);\n\ttransform:rotate(180deg);\n}\nlabel[for=\"r5\"] img { \n\t-webkit-transform-origin:50% 253%;\n\ttransform-origin:50% 253%;\n\t-webkit-transform:rotate(240deg);\n\ttransform:rotate(240deg);\n}\nlabel[for=\"r6\"] img { \n\t-webkit-transform-origin:50% 253%;\n\ttransform-origin:50% 253%;\n\t-webkit-transform:rotate(300deg);\n\ttransform:rotate(300deg);\n}\n#close_btn {\n\tcolor:#fff;\n\tfont-weight:bold;\n\tposition:absolute;\n\ttop:670px;\n\tleft:530px;\n\tbackground:#000;\n\tcursor:pointer;\n\tdisplay:none;\n}\n#r1:checked ~ #stage #thumbs,#r2:checked ~ #stage #thumbs,#r3:checked ~ #stage #thumbs,#r4:checked ~ #stage #thumbs,#r5:checked ~ #stage #thumbs,#r6:checked ~ #stage #thumbs {\n\t-webkit-animation:rot 1s ease-in;\n\t-moz-animation:rot 1s ease-in;\n\tanimation:rot 1s ease-in;\n\t-webkit-animation-fill-mode: forwards;\n\tanimation-fill-mode: forwards;\n}\n#r1:checked ~ #stage #thumbs label[for=\"r1\"] img,#r2:checked ~ #stage #thumbs label[for=\"r2\"] img,#r3:checked ~ #stage #thumbs label[for=\"r3\"] img,#r4:checked ~ #stage #thumbs label[for=\"r4\"] img,#r5:checked ~ #stage #thumbs label[for=\"r5\"] img,#r6:checked ~ #stage #thumbs label[for=\"r6\"] img {\n\t-webkit-animation:expnd 1.6s ease-in;\n\t-moz-animation:expnd 1.6s ease-in;\n\tanimation:expnd 1.6s ease-in;\n\t-webkit-animation-fill-mode: forwards;\n\tanimation-fill-mode: forwards;\n\tz-index:100;\n\tborder:#fff solid 3px;\n}\n#r1:checked ~ #stage #thumbs label:not([for=\"r1\"]) img, #r2:checked ~ #stage #thumbs label:not([for=\"r2\"]) img, #r3:checked ~ #stage #thumbs label:not([for=\"r3\"]) img, #r4:checked ~ #stage #thumbs label:not([for=\"r4\"]) img, #r5:checked ~ #stage #thumbs label:not([for=\"r5\"]) img, #r6:checked ~ #stage #thumbs label:not([for=\"r6\"]) img {\n\t-webkit-animation:centering 1s ease-in;\n\t-moz-animation:centering 1s ease-in;\n\tanimation:centering 1s ease-in;\n\t-webkit-animation-fill-mode: forwards;\n\tanimation-fill-mode: forwards;\n}\n#r1:checked ~ #close_btn,#r2:checked ~ #close_btn,#r3:checked ~ #close_btn,#r4:checked ~ #close_btn,#r5:checked ~ #close_btn,#r6:checked ~ #close_btn {\n\tdisplay:block;\n}\n@-webkit-keyframes rot {\n\t0% { -webkit-transform:none; }\n\t100% { -webkit-transform:rotate(360deg); }\n}\n@-moz-keyframes rot {\n\t0% { -webkit-transform:none; }\n\t100% { -webkit-transform:rotate(360deg); }\n}\n@keyframes rot {\n\t0% { transform:none; }\n\t100% { transform:rotate(360deg);; }\n}\n@-webkit-keyframes centering {\n\t0% { top:28px;}\n\t100% { top:166px; -webkit-transform:rotate(360deg);}\n}\n@-moz-keyframes centering {\n\t0% { top:28px;}\n\t100% { top:166px; -webkit-transform:rotate(360deg);}\n}\n@keyframes centering {\n\t0% { top:28px;}\n\t100% { top:166px; transform:rotate(360deg);}\n}\n@-webkit-keyframes expnd {\n\t0% { top:28px;}\n\t63% {  width: 120px;height: 68px;top:166px;left:240px;-webkit-transform:rotate(360deg);}\n\t75% {  width: 120px;height: 68px;top:166px;left:240px;-webkit-transform:rotate(360deg);}\n\t100% {top:10px;left:8px;width:600px;height:338px;-webkit-transform:rotate(360deg);}\n}\n@-moz-keyframes expnd {\n\t0% { top:28px;}\n\t63% {  width: 120px;height: 68px;top:166px;left:240px;-webkit-transform:rotate(360deg);}\n\t75% {  width: 120px;height: 68px;top:166px;left:240px;-webkit-transform:rotate(360deg);}\n\t100% {top:10px;left:8px;width:600px;height:338px;-webkit-transform:rotate(360deg);}\n}\n@keyframes expnd {\n\t0% { top:28px;}\n\t63% {  width: 120px;height: 68px;top:166px;left:240px;transform:rotate(360deg);}\n\t75% {  width: 120px;height: 68px;top:166px;left:240px;transform:rotate(360deg);}\n\t100% {top:10px;left:8px;width:600px;height:338px;transform:rotate(360deg);}\n}\n<\/style>\n<p><\/p>\n<h4>\u672c\u30b5\u30f3\u30d7\u30eb\u8868\u793a\u7528HTML<\/h4>\n<pre>\r\n&lt;input type=\"radio\" id=\"r1\" name=\"gal\"&gt;\r\n&lt;input type=\"radio\" id=\"r2\" name=\"gal\"&gt;\r\n&lt;input type=\"radio\" id=\"r3\" name=\"gal\"&gt;\r\n&lt;input type=\"radio\" id=\"r4\" name=\"gal\"&gt;\r\n&lt;input type=\"radio\" id=\"r5\" name=\"gal\"&gt;\r\n&lt;input type=\"radio\" id=\"r6\" name=\"gal\"&gt;\r\n&lt;input type=\"radio\" id=\"r7\" name=\"gal\"&gt;\r\n&lt;div id=\"stage\"&gt;\r\n  &lt;div id=\"thumbs\"&gt;\r\n\t&lt;label for=\"r1\"&gt;&lt;img src=\"img2\/1.jpg\"&gt;&lt;\/label&gt;\r\n\t&lt;label for=\"r2\"&gt;&lt;img src=\"img2\/2.jpg\"&gt;&lt;\/label&gt;\r\n\t&lt;label for=\"r3\"&gt;&lt;img src=\"img2\/3.jpg\"&gt;&lt;\/label&gt;\r\n\t&lt;label for=\"r4\"&gt;&lt;img src=\"img2\/4.jpg\"&gt;&lt;\/label&gt;\r\n\t&lt;label for=\"r5\"&gt;&lt;img src=\"img2\/5.jpg\"&gt;&lt;\/label&gt;\r\n\t&lt;label for=\"r6\"&gt;&lt;img src=\"img2\/6.jpg\"&gt;&lt;\/label&gt;\r\n  &lt;\/div&gt;\r\n&lt;\/div&gt;\r\n&lt;div id=\"close_btn\"&gt;&lt;label for=\"r7\"&gt;? \u9589\u3058\u308b&lt;\/label&gt;&lt;\/div&gt;\r\n<\/pre>\n<h4>HTML\u306e\u6982\u8981\u8aac\u660e<\/h4>\n<p>\u30fb\u30e9\u30b8\u30aa\u30dc\u30bf\u30f3 #1-#6 \u306f\u5404\u5199\u771f\u306b\u3001r7 \u306f\u9589\u3058\u308b\u30dc\u30bf\u30f3\u306b\u95a2\u9023\u4ed8\u3051\u304c\u3055\u308c\u3066\u3044\u308b\u3002<br \/>\n\u30fb#stage \u306f\u3001\u80cc\u666f\u9ed2\u306e\u30ae\u30e3\u30e9\u30ea\u30fc\u67a0\u3001#thumbs \u306f\u30b5\u30e0\u30cd\u30a4\u30eb\u5168\u4f53\u3092\u53ce\u7d0d\u3059\u308bdiv\u3067\u3053\u308c\u3092\u56de\u8ee2\u3055\u305b\u308b\u4e8b\u306b\u3088\u3063\u3066\u3001\u30b5\u30e0\u30cd\u30a4\u30eb\u5168\u90e8\u304c\u5217\u3092\u306a\u3057\u3066\u56de\u8ee2\u3059\u308b\u3002<\/p>\n<h4>\u672c\u30b5\u30f3\u30d7\u30eb\u8868\u793aCSS<\/h4>\n<pre>\r\n\/* \u30e9\u30b8\u30aa\u30dc\u30bf\u30f3\u3092\u975e\u8868\u793a\u306b *\/\r\n#r1,#r2,#r3,#r4,#r5,#r6,#r7 {\r\n\tdisplay:none;\r\n}\r\n\/* \u8868\u793a\u67a0 *\/\r\n#stage {\r\n\tposition:relative;\r\n\twidth:620px;\r\n\theight:400px;\r\n\tbackground:#000;\r\n}\r\n\/* \u30b5\u30e0\u30cd\u30a4\u30eb\u53ce\u7d0d\u67a0\u3067\u5168\u4f53\u306eanimation\u306b\u95a2\u308f\u308b *\/\r\n#thumbs {\r\n\twidth:620px;\r\n\theight:400px;\r\n}\r\n\/* \u30b5\u30e0\u30cd\u30a4\u30eb\u306e\u521d\u671f\u8868\u793a *\/\r\n#thumbs label img {\r\n\tposition:absolute;\r\n\twidth:120px;\r\n\theight:68px;\r\n\ttop:28px;\r\n\tleft:240px;\r\n\tborder:#fff solid 2px;\r\n\tcursor:pointer;\r\n}\r\n#thumbs label img:hover {\r\n\tborder:#f00 solid 2px;\r\n}\r\n\/* \u5404\u30b5\u30e0\u30cd\u30a4\u30eb\u306e\u8868\u793a\u89d2\u5ea6\u30fb\u56de\u8ee2\u306e\u8d77\u70b9 *\/\r\nlabel[for=\"r1\"] img {\r\n\t-webkit-transform-origin:50% 253%;\r\n\t-webkit-transform:rotate(0deg);\r\n\ttransform-origin:50% 253%;\r\n\ttransform:rotate(0deg);\r\n}\r\nlabel[for=\"r2\"] img {\r\n\t-webkit-transform-origin:50% 253%;\r\n\t-webkit-transform:rotate(60deg);\r\n\ttransform-origin:50% 253%;\r\n\ttransform:rotate(60deg);\r\n}\r\nlabel[for=\"r3\"] img { \r\n\t-webkit-transform-origin:50% 253%;\r\n\ttransform-origin:50% 253%;\r\n\t-webkit-transform:rotate(120deg);\r\n\ttransform:rotate(120deg);\r\n}\r\nlabel[for=\"r4\"] img {\r\n\t-webkit-transform-origin:50% 253%;\r\n\ttransform-origin:50% 253%;\r\n\t-webkit-transform:rotate(180deg);\r\n\ttransform:rotate(180deg);\r\n}\r\nlabel[for=\"r5\"] img { \r\n\t-webkit-transform-origin:50% 253%;\r\n\ttransform-origin:50% 253%;\r\n\t-webkit-transform:rotate(240deg);\r\n\ttransform:rotate(240deg);\r\n}\r\nlabel[for=\"r6\"] img { \r\n\t-webkit-transform-origin:50% 253%;\r\n\ttransform-origin:50% 253%;\r\n\t-webkit-transform:rotate(300deg);\r\n\ttransform:rotate(300deg);\r\n}\r\n\/* \u9589\u3058\u308b\u30dc\u30bf\u30f3 *\/\r\n#close_btn {\r\n\tcolor:#fff;\r\n\tfont-weight:bold;\r\n\tposition:absolute;\r\n\ttop:370px;\r\n\tleft:530px;\r\n\tbackground:#000;\r\n\tcursor:pointer;\r\n\tdisplay:none;\r\n}\r\n\/* \u30b5\u30e0\u30cd\u30a4\u30eb\u304c\u30af\u30ea\u30c3\u30af\u3055\u308c\u305f\u3089#thums\u3092360\u00b0\u56de\u8ee2\u3055\u305b\u308b *\/\r\n#r1:checked ~ #stage #thumbs,#r2:checked ~ #stage #thumbs,#r3:checked ~ #stage #thumbs,#r4:checked ~ #stage #thumbs,#r5:checked ~ #stage #thumbs,#r6:checked ~ #stage #thumbs {\r\n\t-webkit-animation:rot 1s ease-in;\r\n\tanimation:rot 1s ease-in;\r\n\t-webkit-animation-fill-mode: forwards;\r\n\tanimation-fill-mode: forwards;\r\n}\r\n\/* \u30b5\u30e0\u30cd\u30a4\u30eb\u304c\u30af\u30ea\u30c3\u30af\u3055\u308c\u305f\u3089\u3001\u30b5\u30e0\u30cd\u30a4\u30eb\u3092\u4e2d\u5fc3\u4f4d\u7f6e\u306b\u79fb\u52d5\u3057\u3001\u305d\u3053\u3067\u5143\u306e\u30b5\u30a4\u30ba\u307e\u3067\u62e1\u5927\u3059\u308b *\/\r\n#r1:checked ~ #stage #thumbs label[for=\"r1\"] img,#r2:checked ~ #stage #thumbs label[for=\"r2\"] img,#r3:checked ~ #stage #thumbs label[for=\"r3\"] img,#r4:checked ~ #stage #thumbs label[for=\"r4\"] img,#r5:checked ~ #stage #thumbs label[for=\"r5\"] img,#r6:checked ~ #stage #thumbs label[for=\"r6\"] img {\r\n\t-webkit-animation:expnd 1.6s ease-in;\r\n\tanimation:expnd 1.6s ease-in;\r\n\t-webkit-animation-fill-mode: forwards;\r\n\tanimation-fill-mode: forwards;\r\n\tz-index:100;\r\n\tborder:#fff solid 3px;\r\n}\r\n\/* \u3069\u308c\u304b\u306e\u30b5\u30e0\u30cd\u30a4\u30eb\u304c\u30af\u30ea\u30c3\u30af\u3055\u308c\u305f\u3089\u3001\u305d\u308c\u4ee5\u5916\u306e \u30b5\u30e0\u30cd\u30a4\u30eb\u3092\u4e2d\u5fc3\u4f4d\u7f6e\u306b\u79fb\u52d5\u3055\u305b\u308b*\/\r\n#r1:checked ~ #stage #thumbs label:not([for=\"r1\"]) img, #r2:checked ~ #stage #thumbs label:not([for=\"r2\"]) img, #r3:checked ~ #stage #thumbs label:not([for=\"r3\"]) img, #r4:checked ~ #stage #thumbs label:not([for=\"r4\"]) img, #r5:checked ~ #stage #thumbs label:not([for=\"r5\"]) img, #r6:checked ~ #stage #thumbs label:not([for=\"r6\"]) img {\r\n\t-webkit-animation:centering 1s ease-in;\r\n\tanimation:centering 1s ease-in;\r\n\t-webkit-animation-fill-mode: forwards;\r\n\tanimation-fill-mode: forwards;\r\n}\r\n\/* \u30b5\u30e0\u30cd\u30a4\u30eb\u304c\u30af\u30ea\u30c3\u30af\u3055\u308c\u305f\u3089\u9589\u3058\u308b\u30dc\u30bf\u30f3\u3092\u8868\u793a\u3055\u305b\u308b *\/\r\n#r1:checked ~ #close_btn,#r2:checked ~ #close_btn,#r3:checked ~ #close_btn,#r4:checked ~ #close_btn,#r5:checked ~ #close_btn,#r6:checked ~ #close_btn {\r\n\tdisplay:block;\r\n}\r\n\/* #thumbs\u306e\u56de\u8ee2 *\/\r\n@-webkit-keyframes rot {\r\n\t0% { -webkit-transform:none; }\r\n\t100% { -webkit-transform:rotate(360deg); }\r\n}\r\n@keyframes rot {\r\n\t0% { transform:none; }\r\n\t100% { transform:rotate(360deg);; }\r\n}\r\n\/* \u30b5\u30e0\u30cd\u30a4\u30eb\u3092\u4e2d\u5fc3\u4f4d\u7f6e\u306b\u79fb\u52d5 *\/\r\n@-webkit-keyframes centering {\r\n\t0% { top:28px;}\r\n\t100% { top:166px; -webkit-transform:rotate(360deg);}\r\n}\r\n@keyframes centering {\r\n\t0% { top:28px;}\r\n\t100% { top:166px; transform:rotate(360deg);}\r\n}\r\n\/* \u30af\u30ea\u30c3\u30af\u3055\u308c\u305f\u30b5\u30e0\u30cd\u30a4\u30eb\u3092\u4e2d\u5fc3\u4f4d\u7f6e\u306b\u79fb\u52d5\u3055\u305b\u3001\u6b21\u3044\u3067\u62e1\u5927\u3055\u305b\u308b *\/\r\n@-webkit-keyframes expnd {\r\n\t0% { top:28px;}\r\n\t63% {  width: 120px;height: 68px;top:166px;left:240px;-webkit-transform:rotate(360deg);}\r\n\t75% {  width: 120px;height: 68px;top:166px;left:240px;-webkit-transform:rotate(360deg);}\r\n\t100% {top:10px;left:8px;width:600px;height:338px;-webkit-transform:rotate(360deg);}\r\n}\r\n@keyframes expnd {\r\n\t0% { top:28px;}\r\n\t63% {  width: 120px;height: 68px;top:166px;left:240px;transform:rotate(360deg);}\r\n\t75% {  width: 120px;height: 68px;top:166px;left:240px;transform:rotate(360deg);}\r\n\t100% {top:10px;left:8px;width:600px;height:338px;transform:rotate(360deg);}\r\n}\r\n<\/pre>\n<h4>CSS\u306e\u30dd\u30a4\u30f3\u30c8\u89e3\u8aac<\/h4>\n<p>\u30fb\u5e45600px\u306e\u5199\u771f\u306f\u3001\u30b5\u30e0\u30cd\u30a4\u30eb\uff08\u5e45120px\uff09\u3068\u3057\u3066\u521d\u671f\u8868\u793a\u3059\u308b\u3002=>#thumbs label img { \u5185<br \/>\n\u30fb\u30b5\u30e0\u30cd\u30a4\u30eb\u3092\u3001#stage\u306e\u4e2d\u5fc3\u3092\u4e2d\u5fc3\u3068\u3059\u308b\u6b63\u516d\u89d2\u5f62\u306e\u5404\u8fba\u306e\u4e0a\u306b\u306e\u308b\u3088\u3046\u306b\u914d\u7f6e\u3059\u308b\u3002<br \/>\n\uff08\u307e\u305a\u5168\u90e8\u306e\u30b5\u30e0\u30cd\u30a4\u30eb\u3092\u4e0a\u8a18\u306e\u521d\u671f\u8868\u793a\u4f4d\u7f6e\u306b\u914d\u7f6e\u3057\u3001\u9806\u756a\u306b#stage\u306e\u4e2d\u5fc3\u3092\u8d77\u70b9\u306b60\u5ea6\u305a\u3064\u305a\u3089\u3057\u3066\u8868\u793a\u3055\u305b\u308b\u3002<br \/>\n\u3000=> transform-origin:50% 253%;\ttransform:rotate(60deg);\u3000<br \/>\n\u3000253% \u306f\u30b5\u30e0\u30cd\u30a4\u30eb\u4e0a\u90e8\u304b\u3089\u516d\u89d2\u5f62\u4e2d\u5fc3\u307e\u3067\u306e\u8ddd\u96e2\uff08120*sin(60\u00b0)+68\uff09\u3092\u5199\u771f\u306e\u9ad8\u3055\uff0868\uff09\u3067\u5272\u3063\u305f\u30d1\u30fc\u30bb\u30f3\u30c8\u5024\uff09<br \/>\n\u30fbanimation:rot \u3067\u306f\u3001#thumbs\u3092\u56de\u8ee2\u3055\u305b\u308b\u3053\u3068\u3067\u3001\u30b5\u30e0\u30cd\u30a4\u30eb\u5168\u4f53\u304c\u4e26\u3093\u3060\u307e\u307e\u56de\u8ee2\u3057\u3001\u305d\u308c\u305e\u308c\u304c\u4e00\u5468\u3057\u305f\u3068\u3053\u308d\u3067\u6b62\u307e\u308b\u3002<br \/>\n\u30fbanimation:centering \u3067\u306f\u3001\u30af\u30ea\u30c3\u30af\u3055\u308c\u305f\u30b5\u30e0\u30cd\u30a4\u30eb\u4ee5\u5916\u306e\u30b5\u30e0\u30cd\u30a4\u30eb\u304c\u4e2d\u5fc3\u4f4d\u7f6e\u307e\u3067\u79fb\u52d5\u3057\u6c34\u5e73\u4f4d\u7f6e\u306b\u306a\u308b\u3002<br \/>\n\u3000\u25ef\u25ef\u4ee5\u5916\u306f\u3001label:not([for=&#8221;r1&#8243;]) \u306e\u3088\u3046\u306b\u8a18\u8ff0\u3059\u308b\u3002<br \/>\n\u30fbanimation\uff1aexpnd \u3067\u306f\u3001\u30af\u30ea\u30c3\u30af\u3055\u308c\u305f\u30b5\u30e0\u30cd\u30a4\u30eb\u304c\u4e2d\u5fc3\u4f4d\u7f6e\u306b\u79fb\u52d5\u3057\u3001\u4e00\u65e6\u305d\u306e\u4f4d\u7f6e\u3067\u6c34\u5e73\u9759\u7f6e\u3057\u3001\u3064\u3044\u3067\u5143\u306e\u30b5\u30a4\u30ba\uff08\u5e45600px\uff09\u307e\u3067\u62e1\u5927\u3059\u308b\u3002<\/p>\n<div class=\"ninja_onebutton\">\n<script type=\"text\/javascript\">\n\/\/<![CDATA[\n(function(d){\nif(typeof(window.NINJA_CO_JP_ONETAG_BUTTON_63425606c23ff308dc3d676e4f432981)=='undefined'){\n    document.write(\"<sc\"+\"ript type='text\\\/javascript' src='http:\\\/\\\/omt.shinobi.jp\\\/b\\\/63425606c23ff308dc3d676e4f432981'><\\\/sc\"+\"ript>\");\n}else{\n    window.NINJA_CO_JP_ONETAG_BUTTON_63425606c23ff308dc3d676e4f432981.ONETAGButton_Load();}\n})(document);\n\/\/]]>\n<\/script><span class=\"ninja_onebutton_hidden\" style=\"display:none;\"><?php the_permalink(); ?><\/span><span style=\"display:none;\" class=\"ninja_onebutton_hidden\"><?php the_title(); ?><\/span>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u306e\u30d5\u30a9\u30c8\u30ae\u30e3\u30e9\u30ea\u30fc\u306f\u3001css \u306e animation \u306b\u52a0\u3048\u3066 transform \u30d7\u30ed\u30d1\u30c6\u30a3\u30fc\u3092\u4f7f\u3063\u3066\u3001\u30b5\u30e0\u30cd\u30a4\u30eb\u306b\u89d2\u5ea6\u3092\u3064\u3051\u305f\u308a\u3001\u56de\u8ee2\u3055\u305b\u305f\u308a\u3059\u308b\u30d3\u30b8\u30e5\u30a2\u30eb\u52b9\u679c\u3092\u52a0\u5473\u3057\u305f\u3082\u306e\u3067\u3042\u308b\u3002\u5199\u771f\u306f600*338pix\u306e\u3082\u306e &hellip; <a class=\"more-link\" href=\"https:\/\/css.programming.jp\/?p=381\">\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":[4],"tags":[],"class_list":["post-381","post","type-post","status-publish","format-standard","hentry","category-4"],"_links":{"self":[{"href":"https:\/\/css.programming.jp\/index.php?rest_route=\/wp\/v2\/posts\/381","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=381"}],"version-history":[{"count":34,"href":"https:\/\/css.programming.jp\/index.php?rest_route=\/wp\/v2\/posts\/381\/revisions"}],"predecessor-version":[{"id":812,"href":"https:\/\/css.programming.jp\/index.php?rest_route=\/wp\/v2\/posts\/381\/revisions\/812"}],"wp:attachment":[{"href":"https:\/\/css.programming.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=381"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/css.programming.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=381"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/css.programming.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=381"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}