{"id":432,"date":"2008-08-20T22:06:16","date_gmt":"2008-08-20T13:06:16","guid":{"rendered":"http:\/\/ke-tai.org\/blog\/?p=432"},"modified":"2008-08-21T14:41:52","modified_gmt":"2008-08-21T05:41:52","slug":"iphonecsszoo","status":"publish","type":"post","link":"http:\/\/ke-tai.org\/blog\/2008\/08\/20\/iphonecsszoo\/","title":{"rendered":"iPhone\u306eCSS\u3067\u62e1\u5927\u30fb\u7e2e\u5c0f\u30fb\u56de\u8ee2\u306a\u3069\u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3055\u305b\u308b\u65b9\u6cd5"},"content":{"rendered":"<p>\u5148\u65e5\u300c<a href=\"http:\/\/ke-tai.org\/blog\/2008\/08\/13\/iphonecssanime\/\" target=\"_blank\">iPhone\u3067JavaScript\u3092\u4f7f\u308f\u305aCSS\u3060\u3051\u3067\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3059\u308b\u65b9\u6cd5<\/a>\u300d\u3068\u3044\u3046\u8a18\u4e8b\u3092\u66f8\u304d\u307e\u3057\u305f\u304c\u3001\u4eca\u56de\u306f\u305d\u306e\u7d9a\u304d\u3067\u3059\u3002<\/p>\n<p>\u524d\u56de\u306f\u3001\u5de6\u304b\u3089\u53f3\u306b\u3059\u30fc\u3063\u3068\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3059\u308b\u3060\u3051\u3067\u3057\u305f\u304c\u3001\u4eca\u56de\u306f\u62e1\u5927\u30fb\u7e2e\u5c0f\u30fb\u56de\u8ee2\u3068\u3044\u3063\u305f\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u3055\u305b\u3066\u307f\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u524d\u56de\u306f\u300c-webkit-animation-name\u300d\u3092\u4f7f\u3046\u65b9\u6cd5\u3067\u3057\u305f\u304c\u3001\u4eca\u56de\u306f\u3084\u308a\u65b9\u3092\u5909\u3048\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/ke-tai.org\/blog\/wp-content\/uploads\/2008\/08\/20080820_iphonecss1.jpg\" alt=\"\" title=\"20080820_iphonecss1\" width=\"200\" height=\"287\" class=\"alignnone size-full wp-image-433\" \/>\u3000<img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/ke-tai.org\/blog\/wp-content\/uploads\/2008\/08\/20080820_iphonecss2.jpg\" alt=\"\" title=\"20080820_iphonecss2\" width=\"200\" height=\"285\" class=\"alignnone size-full wp-image-434\" \/><br \/>\n<small>\u9759\u6b62\u753b\u306a\u306e\u3067\u308f\u304b\u308a\u3065\u3089\u3044\u3067\u3059\u304c\u3001\u5de6\u304b\u3089\u30af\u30eb\u30af\u30eb\u3068\u56de\u8ee2\u3057\u306a\u304c\u3089\u7e2e\u5c0f\u3057\u3066\u3001\u53f3\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/small><\/p>\n<p class=\"spacer-small\">&nbsp;<\/p>\n<p>\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u306f\u6b21\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<pre class=\"super-pre-small\"><code>&lt;html&gt;\r\n&lt;head&gt;\r\n&lt;meta name=\"viewport\" content=\"width=320, user-scalable=no, maximum-scale=1.0\" \/&gt;\r\n&lt;script type=\"text\/javascript\"&gt;\r\nfunction animationStart() {\r\n\tvar el = document.getElementById(\"target\");\r\n\tel.style.webkitTransition = '-webkit-transform 3s ease-in-out';\r\n\tel.style.webkitTransform = 'translate(180px,40px) rotate(180deg) scale(0.1)';\r\n}\r\n&lt;\/script&gt;\r\n&lt;\/head&gt;\r\n&lt;body&gt;\r\n&lt;input type=\"button\" name=\"hoge\" value=\"animation\" onClick=\"animationStart();\" \/&gt;\r\n&lt;div id=\"target\" style=\"width:120px; height:120px; background-color:red; position:absolute; top:120px; left:10px;\"&gt;&lt;\/div&gt;\r\n&lt;\/body&gt;\r\n&lt;\/html&gt;\r\n<\/code><\/pre>\n<p>\u30dd\u30a4\u30f3\u30c8\u306f\u30017\uff5e8\u884c\u76ee\u306eJavaScript\u3067\u3059\u3002<\/p>\n<pre class=\"super-pre-small\"><code>el.style.webkitTransition = '-webkit-transform 3s ease-in-out';<\/code><\/pre>\n<p>\u3053\u3053\u3067\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306e\u5b9a\u7fa9\u3092\u884c\u3063\u3066\u3044\u307e\u3059\u3002<br \/>\n\u300c3s\u300d\u3068\u3044\u3046\u306e\u304c\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3055\u305b\u308b\u6642\u9593\u3067\u3001\u3053\u306e\u4f8b\u3067\u306f\u300c3\u79d2\u300d\u3067\u3059\u3002<br \/>\n\u300cease-in-out\u300d\u3068\u3044\u3046\u306e\u304c\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306e\u52d5\u304d\u306e\u5f37\u5f31\u3067\u3001\u3053\u306e\u4f8b\u3067\u306f\u300c\u6700\u521d\u3068\u6700\u5f8c\u3092\u3086\u3063\u304f\u308a\u300d\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002<\/p>\n<p>\u3053\u3061\u3089\u306f\u300cdefault | linear | ease-in | ease-out | ease-in-out | cubic-bezier(x1, y1, x2, y2)\u300d\u306e\u3044\u305a\u308c\u304b\u306e\u5024\u3092\u3068\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3088\u3046\u3067\u3059\u3002<\/p>\n<p>\u8a73\u3057\u304f\u306f\u3053\u3061\u3089\u306e\u30da\u30fc\u30b8\u306b\u66f8\u304b\u308c\u3066\u3044\u307e\u3059\u3002\uff08\u82f1\u8a9e\u3067\u3059\uff09<br \/>\n\u2192\u3000<a href=\"http:\/\/webkit.org\/blog\/138\/css-animation\/\" target=\"_blank\">Surfin&#8217; Safari &#8211; Blog Archive  &raquo; CSS Animation<\/a> <small>[webkit.org]<\/small><\/p>\n<p class=\"spacer-small\">&nbsp;<\/p>\n<pre class=\"super-pre-small\"><code>el.style.webkitTransform = 'translate(180px,40px) rotate(180deg) scale(0.1)';<\/code><\/pre>\n<p>\u7d9a\u3044\u3066\u3053\u306e\u90e8\u5206\u3067\u3001\u79fb\u52d5\u30fb\u62e1\u5927\u7e2e\u5c0f\u3001\u56de\u8ee2\u306e\u6570\u5024\u3092\u8a2d\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u300ctranslate(180px,40px)\u300d\u306e\u90e8\u5206\u3067\u3001\u79fb\u52d5\u3059\u308b\u4f4d\u7f6e\u3092\u6307\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\u3053\u306e\u4f8b\u3067\u306f\u53f3\u306b180\u30d4\u30af\u30bb\u30eb\u3001\u4e0b\u306b40\u30d4\u30af\u30bb\u30eb\u3067\u3059\u3002\uff08\u5de6\u3084\u4e0a\u306b\u79fb\u52d5\u3059\u308b\u5834\u5408\u306f\u30de\u30a4\u30ca\u30b9\u306e\u5024\u3092\u6307\u5b9a\u3057\u307e\u3059\uff09<\/p>\n<p>\u300crotate(180deg)\u300d\u306f\u56de\u8ee2\u3067\u3059\u3002<br \/>\n\u3053\u306e\u4f8b\u3067\u306f\u3001\u534a\u6642\u8a08\u5468\u308a\u306b180\u5ea6\u56de\u8ee2\u3055\u305b\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u300cscale(0.1)\u300d\u306f\u62e1\u5927\u30fb\u7e2e\u5c0f\u3067\u3059\u3002<br \/>\n\u3053\u3053\u3067\u306f0.1\u500d\u30681\/10\u306e\u5927\u304d\u3055\u306b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u4ed6\u306b\u3082\u3001skew(\u5909\u5f62)\u3084\u3001matrix\uff08\u5909\u63db\u884c\u5217\uff09\u306a\u3069\u3082\u4f7f\u3048\u308b\u3088\u3046\u3067\u3059\u3002<\/p>\n<p class=\"spacer-small\">&nbsp;<\/p>\n<p>iPhone\u3092\u304a\u6301\u3061\u306e\u65b9\u306f\u3053\u3061\u3089\u306e\u30da\u30fc\u30b8\u304b\u3089\u3054\u78ba\u8a8d\u304f\u3060\u3055\u3044\u3002<br \/>\n\u2192\u3000<a href=\"http:\/\/ke-tai.org\/test\/anime\/1.html\" target=\"_blank\">\u7e2e\u5c0f\u30fb\u56de\u8ee2\u306e\u30b5\u30f3\u30d7\u30eb\u30da\u30fc\u30b8<\/a><\/p>\n<p class=\"spacer-small\">&nbsp;<\/p>\n<p>\u307e\u305f\u3053\u306e\u8fba\u308a\u306e\u8a71\u306f\u3001\u3053\u3061\u3089\u306e\u30da\u30fc\u30b8\u304c\u30b5\u30f3\u30d7\u30eb\u304c\u8c4a\u5bcc\u3067\u3068\u3066\u3082\u53c2\u8003\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u2192\u3000<a href=\"http:\/\/blog.livedoor.jp\/hayashi311\/archives\/347890.html\" target=\"_blank\">iPhone\u5411\u3051\u30b5\u30a4\u30c8\u3092\u8003\u3048\u308b : \u30ea\u30c3\u30c1\u3063\u307d\u3044iPhone\u5411\u3051\u30b5\u30a4\u30c8\u3092\u4f5c\u308b\u305f\u3081\u306eCSS3\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3<\/a> <small>[livedoor.jp]<\/small><\/p>\n<p class=\"spacer\">&nbsp;<\/p>\n<p><strong><em>\u95a2\u9023\uff1a<\/em><\/strong><\/p>\n<ul>\n<li><em><a href=\"http:\/\/ke-tai.org\/blog\/2008\/08\/13\/iphonecssanime\/\">iPhone\u3067JavaScript\u3092\u4f7f\u308f\u305aCSS\u3060\u3051\u3067\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3059\u308b\u65b9\u6cd5<\/a><\/em> <img decoding=\"async\" style=\"border:0px\" src=\"http:\/\/b.hatena.ne.jp\/entry\/image\/small\/http:\/\/ke-tai.org\/blog\/2008\/08\/13\/iphonecssanime\/\" \/><\/li>\n<li><em><a href=\"http:\/\/ke-tai.org\/blog\/2008\/08\/13\/iphonecssanime\/\">iPhone\u5411\u3051\u30b5\u30a4\u30c8\u4f5c\u6210\u306e\u30d9\u30fc\u30b9\u306b\u4fbf\u5229\u306a\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u96c6\u300ciPhone Universal\u300d<\/a><\/em> <img decoding=\"async\" style=\"border:0px\" src=\"http:\/\/b.hatena.ne.jp\/entry\/image\/small\/http:\/\/ke-tai.org\/blog\/2008\/08\/13\/iphonecssanime\/\" \/><\/li>\n<li><em><a href=\"http:\/\/ke-tai.org\/blog\/2008\/07\/28\/iphonemulti\/\">90\u79d2\u3067\u7406\u89e3\u3059\u308biPhone JavaScript\uff08\u30de\u30eb\u30c1\u30bf\u30c3\u30c1\u7de8\uff09<\/a><\/em> <img decoding=\"async\" style=\"border:0px\" src=\"http:\/\/b.hatena.ne.jp\/entry\/image\/small\/http:\/\/ke-tai.org\/blog\/2008\/07\/28\/iphonemulti\/\" \/><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u5148\u65e5\u300ciPhone\u3067JavaScript\u3092\u4f7f\u308f\u305aCSS\u3060\u3051\u3067\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3059\u308b\u65b9\u6cd5\u300d\u3068\u3044\u3046\u8a18\u4e8b\u3092\u66f8\u304d\u307e\u3057\u305f\u304c\u3001\u4eca\u56de\u306f\u305d\u306e\u7d9a\u304d\u3067\u3059\u3002 \u524d\u56de\u306f\u3001\u5de6\u304b\u3089\u53f3\u306b\u3059\u30fc\u3063\u3068\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3059\u308b\u3060\u3051\u3067\u3057\u305f\u304c\u3001\u4eca\u56de\u306f\u62e1\u5927\u30fb\u7e2e\u5c0f\u30fb\u56de\u8ee2\u3068\u3044\u3063\u305f [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[79],"tags":[89,678,148,189],"_links":{"self":[{"href":"http:\/\/ke-tai.org\/blog\/wp-json\/wp\/v2\/posts\/432"}],"collection":[{"href":"http:\/\/ke-tai.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/ke-tai.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/ke-tai.org\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/ke-tai.org\/blog\/wp-json\/wp\/v2\/comments?post=432"}],"version-history":[{"count":0,"href":"http:\/\/ke-tai.org\/blog\/wp-json\/wp\/v2\/posts\/432\/revisions"}],"wp:attachment":[{"href":"http:\/\/ke-tai.org\/blog\/wp-json\/wp\/v2\/media?parent=432"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/ke-tai.org\/blog\/wp-json\/wp\/v2\/categories?post=432"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/ke-tai.org\/blog\/wp-json\/wp\/v2\/tags?post=432"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}