[app] Add generic CSS animation rule.
Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-app-hello-world/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-app-hello-world/commit/c52a9700 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-app-hello-world/tree/c52a9700 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-app-hello-world/diff/c52a9700 Branch: refs/heads/master Commit: c52a970095bb0df6a26236cddcbeef8b85d6fd7e Parents: 748c17d Author: Michael Brooks <mich...@michaelbrooks.ca> Authored: Tue Jul 17 16:10:46 2012 -0700 Committer: Michael Brooks <mich...@michaelbrooks.ca> Committed: Tue Jul 17 16:10:46 2012 -0700 ---------------------------------------------------------------------- www/css/index.css | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cordova-app-hello-world/blob/c52a9700/www/css/index.css ---------------------------------------------------------------------- diff --git a/www/css/index.css b/www/css/index.css index db1db93..d1f8210 100644 --- a/www/css/index.css +++ b/www/css/index.css @@ -64,6 +64,12 @@ h1 { display:none; } +@keyframes fade { + from { opacity: 1.0; } + 50% { opacity: 0.4; } + to { opacity: 1.0; } +} + @-webkit-keyframes fade { from { opacity: 1.0; } 50% { opacity: 0.4; } @@ -71,6 +77,7 @@ h1 { } .blink { + animation:fade 3000ms infinite; -webkit-animation:fade 3000ms infinite; }