-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathanimation-styles.css
56 lines (49 loc) · 904 Bytes
/
animation-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
49
50
51
52
53
54
55
56
body {
background-color: bisque;
margin: 0;
}
button {
background-color: yellowgreen;
width: 100px;
height: 40px;
margin: 10px;
}
button:hover {
background-color: yellow
}
.wrapper {
height: 400px;
width: 400px;
border: 2px solid coral;
margin: 1rem;
}
.box {
background-color: navy;
width: 100px;
height: 100px;
position: relative;
}
.btn-block {
width: 100%;
background-color: lightgoldenrodyellow;
margin: 10px 0;
padding: 10px;
}
.text {
width: 400px;
height: 350px;
overflow: scroll;
margin: 0 auto;
margin-top: 50px;
padding: 10px;
border: 5px solid white;
background-color: wheat;
/* with box-sizing property padding & border
will include in the offset w/h */
box-sizing: border-box;
}
.btn-text > button {
display: block;
margin: 0 auto;
margin-top: 20px;
}