{"id":170,"date":"2013-03-13T22:02:09","date_gmt":"2013-03-13T13:02:09","guid":{"rendered":"http:\/\/localhost:8080\/?p=170"},"modified":"2023-02-28T21:16:46","modified_gmt":"2023-02-28T12:16:46","slug":"add-css3-animation-to-the-header","status":"publish","type":"post","link":"http:\/\/localhost:8080\/others\/web\/add-css3-animation-to-the-header\/","title":{"rendered":"\u30d8\u30c3\u30c0\u30fc\u306b\u7c21\u5358\u306aCSS3\u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u4ed5\u639b\u3051\u3066\u307f\u305f\u3002"},"content":{"rendered":"\r\n
\u3053\u306e\u30d6\u30ed\u30b0\u306e\u30d8\u30c3\u30c0\u30fc\u306b\u3044\u308b\u30c9\u30ed\u30a4\u30c9\u541b\u306b\u6ce8\u76ee\u3002
\r\n\u30da\u30fc\u30b8\u3092\u8868\u793a\u3057\u3066\u6570\u79d2\u5f8c\u3001\u4e00\u56de\u3060\u3051\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u304c\u5b9f\u884c\u3055\u308c\u307e\u3059\u3002\u30ea\u30ed\u30fc\u30c9\u3057\u3066\u78ba\u304b\u3081\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002
\r\n\u3053\u308c\u3001JavaScript\u3084jQuery\u306f\u4e00\u5207\u4f7f\u3063\u3066\u307e\u305b\u3093\u3002\u3044\u3084\u3041\u3001\u3053\u3093\u306a\u7c21\u5358\u306b\u3067\u304d\u308b\u3068\u306f\u601d\u308f\u306a\u304b\u3063\u305f\u3002<\/p>
\u30c9\u30ed\u30a4\u30c9\u541b\u306e\u982d\u304c\u958b\u3044\u3066\u30d8\u30fc\u30d9\u30eb\u541b\u304c\u30cb\u30e7\u30ad\u30c3\u3068\u51fa\u3066\u304f\u308b\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306f\u5168\u3066CSS3\u3067\u66f8\u304b\u308c\u3066\u3044\u307e\u3059\u3002\r\nCSS3\u306a\u306e\u3067\u3001Internet Explorer\u3084\u53e4\u3044\u30d6\u30e9\u30a6\u30b6\u3060\u3068\u4e00\u90e8\u5bfe\u5fdc\u3057\u3066\u3044\u307e\u305b\u3093\u304c\u3001\u3082\u3061\u308d\u3093\u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\u306b\u306f\u5bfe\u5fdc\u3057\u3066\u3044\u307e\u3059\u3002
\r\n\u3044\u3084\u3057\u304b\u3057\u3001\u30b9\u30bf\u30a4\u30eb\u30b7\u30fc\u30c8\u3060\u3051\u3067\u3053\u308c\u3060\u3051\u306a\u3081\u3089\u304b\u306a\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u304c\u3067\u304d\u308b\u306e\u306f\u3061\u3087\u3063\u3068\u611f\u52d5\u3057\u307e\u3057\u305f\u3002<\/p>\r\n\r\n
web\u30c7\u30b6\u30a4\u30f3\u7cfb\u306e\u30d6\u30ed\u30b0\u3067\u306f\u306a\u3044\u306e\u3067\u3001\u30bd\u30fc\u30b9\u3092\u8f09\u305b\u305f\u3068\u3053\u308d\u3067\u3042\u307e\u308a\u610f\u5473\u306a\u3044\u3067\u3059\u304c\u3001\u4e00\u5fdc\u8f09\u305b\u3066\u304a\u304d\u307e\u3059\u3002
\r\n\u30d9\u30f3\u30c0\u30fc\u30d7\u30ec\u30d5\u30a3\u30c3\u30af\u30b9\u304c\u305f\u304f\u3055\u3093\u3042\u3063\u3066\u9577\u304f\u306a\u3063\u3066\u3057\u307e\u3046\u306e\u3067\u3001webkit\u306e\u307f\u8f09\u305b\u3066\u3044\u307e\u3059\u3002<\/p>\r\n\r\n
css\u306e\u30bd\u30fc\u30b9<\/p>\r\n
\r\n#header-logo {\r\n\twidth: 200px;\r\n\theight: 128px;\r\n}\r\n#header-logo img {\r\n\tposition: absolute;\r\n\tclip: rect(0px 500px 128px 0px);\r\n}\r\n#header-logo-body {\r\n\tz-index: 4;\r\n}\r\n#header-logo-head {\r\n\tz-index: 3;\r\n\t-webkit-transform: rotate(24.5deg);\r\n\t-webkit-transform-origin: 40px 106px;\r\n\t-webkit-animation: head-motion 0.5s ease 2s 1 normal forwards;\r\n}\r\n#header-logo-hebelkun {\r\n\tz-index: 2;\r\n\t-webkit-transform: translateY(37px);\r\n\t-webkit-animation: hebelkun-motion 0.5s ease 2s 1 normal forwards;\r\n}\r\n#header-logo-hi {\r\n\tz-index: 1;\r\n\t-webkit-transform: translate(-40px,58px);\r\n\t-webkit-animation: hi-motion 0.5s ease 2s 1 normal forwards;\r\n}\r\n@-webkit-keyframes head-motion {\r\n\t0% {-webkit-transform: rotate(24.5deg);-webkit-transform-origin: 40px 106px;}\r\n\t13% {-webkit-transform: rotate(24.5deg);-webkit-transform-origin: 40px 106px;}\r\n\t100% {-webkit-transform: rotate(0);}\r\n}\r\n@-webkit-keyframes hebelkun-motion {\r\n\t0% {-webkit-transform: translateY(37px);}\r\n\t100% {-webkit-transform: translateY(0px);}\r\n}\r\n@-webkit-keyframes hi-motion {\r\n\t0% {-webkit-transform: translate(-40px,58px);}\r\n\t30% {-webkit-transform: translate(-40px,58px);}\r\n\t100% {-webkit-transform: translate(0,0);}\t\r\n}\r\n<\/pre>\r\n\r\nHTML\u306e\u30bd\u30fc\u30b9<\/p>\r\n
\r\n<div id="header-logo">\r\n\t<img src="\u30c9\u30ed\u30a4\u30c9\u541b\u306e\u80f4\u4f53\u306e\u753b\u50cf" id="header-logo-body" width="200" height="200">\r\n\t<img src="\u30c9\u30ed\u30a4\u30c9\u541b\u306e\u982d\u306e\u753b\u50cf" id="header-logo-head" width="200" height="200">\r\n\t<img src="\u30d8\u30fc\u30d9\u30eb\u541b\u306e\u753b\u50cf" id="header-logo-hebelkun" width="200" height="200">\r\n\t<img src="\uff3c\u30cf\u30fc\u30a4\uff0f\u306e\u753b\u50cf" id="header-logo-hi" width="200" height="200">\r\n<\/div>\r\n<\/pre>\r\n\r\n
\r\n\u203banimation-delay\u304c2s\u306b\u6307\u5b9a\u3055\u308c\u3066\u3044\u307e\u3059\u304c\u3001\u672c\u5f53\u306fJavaScript\u3092\u4f7f\u3063\u3066\u30da\u30fc\u30b8\u3092\u8aad\u307f\u8fbc\u307f\u7d42\u308f\u3063\u3066\u304b\u3089\u30a2\u30af\u30b7\u30e7\u30f3\u3057\u305f\u65b9\u304c\u3044\u3044\u3067\u3059\u3002\u305f\u3060\u9762\u5012\u30fb\u30fb\u30fb","protected":false},"excerpt":{"rendered":"\u3053\u306e\u30d6\u30ed\u30b0\u306e\u30d8\u30c3\u30c0\u30fc\u306b\u3044\u308b\u30c9\u30ed\u30a4\u30c9\u541b\u306b\u6ce8\u76ee\u3002 \u30da\u30fc\u30b8\u3092\u8868\u793a\u3057\u3066\u6570\u79d2\u5f8c\u3001\u4e00\u56de\u3060\u3051\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u304c\u5b9f\u884c\u3055\u308c\u307e\u3059\u3002\u30ea\u30ed\u30fc\u30c9\u3057\u3066\u78ba\u304b\u3081\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002 \u3053\u308c\u3001JavaScript\u3084jQuery\u306f\u4e00\u5207\u4f7f\u3063\u3066\u307e\u305b\u3093\u3002\u3044\u3084\u3041\u3001\u3053\u3093\u306a\u7c21 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[11],"tags":[20,19,74,64],"_links":{"self":[{"href":"http:\/\/localhost:8080\/wp-json\/wp\/v2\/posts\/170"}],"collection":[{"href":"http:\/\/localhost:8080\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/localhost:8080\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/localhost:8080\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/localhost:8080\/wp-json\/wp\/v2\/comments?post=170"}],"version-history":[{"count":19,"href":"http:\/\/localhost:8080\/wp-json\/wp\/v2\/posts\/170\/revisions"}],"predecessor-version":[{"id":191,"href":"http:\/\/localhost:8080\/wp-json\/wp\/v2\/posts\/170\/revisions\/191"}],"wp:attachment":[{"href":"http:\/\/localhost:8080\/wp-json\/wp\/v2\/media?parent=170"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/localhost:8080\/wp-json\/wp\/v2\/categories?post=170"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/localhost:8080\/wp-json\/wp\/v2\/tags?post=170"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}