summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/animations/resources/dynamic-stylesheet-insertion-main.css
blob: ca6ed53cf71680fe207928ffe1432a04da078bf0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
body {
  width: 320px;
  height: 480px;
}

#splash {
  position: absolute;
  left: 20px;
  left: 60px;
  width: 100px;
  height: 100px;
  background-color: blue;
  transform: translate3d(0,80px,0);
  -webkit-animation-name: splashdown;
  -webkit-animation-duration: 0.6s;
  -webkit-animation-delay: 0.1s;
}

@-webkit-keyframes splashdown {
  0% {
    transform: translate3d(0, -300px, 0);
  }
  30% {
    -webkit-animation-timing-function: ease-in;
    transform: translate3d(0, 20px, 0);
  }
  40% {
    -webkit-animation-timing-function: ease-in-out;
    transform: translate3d(0, 100px, 0);
  }
  90% {
    transform: translate3d(0, 100px, 0);
  }
  100% {
    transform: translate3d(0, 100px, 0);
  }
}