forked from Irit-Basic-JS/3-animaster
-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
48 lines (43 loc) · 783 Bytes
/
styles.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
.container {
margin: 20px;
padding: 20px;
border-radius: 10px;
border: 2px solid #ddd;
position: relative;
}
.container-header {
display: flex;
margin-bottom: 10px;
align-content: baseline;
}
.animation-name {
margin: 0;
font-weight: normal;
font-style: italic;
}
.button {
margin-left: 15px;
padding: 5px 10px;
border-radius: 3px;
font-size: 12px;
background: none;
border: 1px solid #ccc;
}
.block {
position: relative;
width: 100px;
height: 100px;
padding: 5px;
box-sizing: border-box;
background-color: #8d3f8d;
border: 2px solid #421456;
color: white;
transition-property: all;
transition-timing-function: ease;
}
.hide {
opacity: 0;
}
.show {
opacity: 1;
}