aboutsummaryrefslogtreecommitdiff
path: root/mod/less/vendors/lessphp/tests/inputs/keyframes.less
blob: e65a38b955ee04b786669618d4d6dc746ae47085 (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
@keyframes 'bounce' {
	from {
		top: 100px;
		animation-timing-function: ease-out;
	}

	25% {
		top: 50px;
		animation-timing-function: ease-in;
	}

	50% {
		top: 100px;
		animation-timing-function: ease-out;
	}

	75% {
		top: 75px;
		animation-timing-function: ease-in;
	}

	to {
		top: 100px;
	}
}

@-webkit-keyframes flowouttoleft {
	0% { -webkit-transform: translateX(0) scale(1); }
	60%, 70% { -webkit-transform: translateX(0) scale(.7); }
	100% { -webkit-transform: translateX(-100%) scale(.7); }
}

div {
	animation-name: 'diagonal-slide';
	animation-duration: 5s;
	animation-iteration-count: 10;
}

@keyframes 'diagonal-slide' {

	from {
		left: 0;
		top: 0;
	}

	to {
		left: 100px;
		top: 100px;
	}

}