-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
161 lines (143 loc) · 2.92 KB
/
style.css
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
body{
background-color: dodgerblue;
}
/* Container */
.container{
display: flex;
justify-content: center;
align-items: center;
flex-flow: column wrap;
}
/* Box */
h1{
margin: 0;
}
b{
vertical-align: bottom;
}
.box{
background-color: orange;
width: 50px;
height: 60px;
padding: 25px;
margin: 50px 50px 20px 50px;
transform: skewX(20deg);
animation-iteration-count: infinite;
animation-duration: 3s;
animation-name: test1;
animation-direction: alternate;
animation-timing-function: linear;
/* transform: skewX(-20deg);
transform: skewX(20deg);*/
}
@keyframes test1{
from{
transform: skewX(20deg);
}
to{
transform: skewX(-20deg);
}
}
.box1{
background-color: white;
width: 50px;
height: 60px;
padding: 25px;
margin: 50px 50px 20px 50px;
animation-iteration-count: infinite;
animation-duration: 3s;
animation-name: test2;
animation-direction:alternate;
animation-timing-function:ease-out;
}
@keyframes test2{
from{
transform: skewY(20deg);
}
to{
transform: skewY(-20deg);
}
}
.box2{
background-color: green;
width: 50px;
height: 60px;
padding: 25px;
margin: 50px 50px 20px 50px;
animation-iteration-count:infinite;
animation-duration: 3s;
animation-name: test3;
animation-direction:normal;
animation-timing-function: In Out · Sine;
}
@keyframes test3{
from{
transform:rotate(0deg);
}
to{
transform:rotate(360deg);
}
}
.box3{
width: 50px;
height: 60px;
padding: 25px;
border: 3px solid rgb(57, 49, 122);
margin: 40px 50px 20px 50px;
}
.a{
background-color: orange;
animation-iteration-count:infinite;
animation-duration: 3s;
animation-name: test4;
animation-direction:alternate;
animation-timing-function: linear;
}
@keyframes test4{
from{
transform:scaleY(1);
}
to{
transform:scaleY(.5);
}
}
.b{
background-color: white;
animation-iteration-count:infinite;
animation-duration: 3s;
animation-name: test5;
animation-direction:alternate;
animation-timing-function: linear;
}
@keyframes test5{
from{
transform:scaleX(1);
}
to{
transform:scaleX(.5);
}
}
.c{
background-color: green;
animation-iteration-count:infinite;
animation-duration: 3s;
animation-name: test6;
animation-direction:normal;
animation-timing-function: linear;
margin-bottom: 30px;
}
@keyframes test6{
0%{
transform: rotate(0deg);
}
50%{
transform: rotate(100deg);
}
100%{
transform: rotate(0deg);
}
}
.title{
font-size: 1.5rem;
position: relative;
left: 100px;