blob: 7e410fcb875cffb108a6095f1bb6d6eb9314ceac (
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
|
div {
align-items: center;
display: flex;
flex-direction: row;
margin-bottom: 16px;
}
div > :not(div) {
margin: 0;
}
div > :not(:last-child) {
margin-right: 5px;
}
div > input[type="text"] {
flex-grow: 1;
}
div.bad-principal > :not(div) {
animation-iteration-count: 3;
animation-timing-function: linear;
animation: bad-principal 0.2s;
}
@keyframes bad-principal {
0% { transform: translateX(0); }
33% { transform: translateX(-15px); }
66% { transform: translateX(+15px); }
100% { transform: translateX(0); }
}
|