-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.css
More file actions
72 lines (61 loc) · 983 Bytes
/
style.css
File metadata and controls
72 lines (61 loc) · 983 Bytes
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
.main {
opacity: 0;
}
body {
background: #e5e5e5;
}
#store {
background: lightslategray;
border-radius: 4px;
width: 210px;
}
.inpClass {
width: 225px;
height: 20px;
border-radius: 5px;
border-color: purple;
background: lightblue;
outline: none;
margin-bottom: 10px;
}
/* this will enable the animation */
.inpClass {
transition: all 0.8s;
opacity: 1;
}
/* hide css */
.inpClass.hide {
opacity: 0;
height: 0; /* optional */
visibility: hidden;
}
.inpClass:hover {
width: 235px;
transition: 0.2s;
}
.inpClass:focus {
width: 260px;
transition: 0.2s;
}
.inpClass:not(:focus), .inpClass:not(:hover) {
transition: 0.2s;
}
button {
width: 90px;
height: 40px;
border-radius: 5px;
border-color: purple;
background: lightblue;
margin-top: 10px;
margin-bottom: 10px;
outline: none;
cursor: pointer;
}
#extra {
margin-top: 0px;
}
.tip {
cursor: pointer;
text-decoration: underline;
}
/* url, name, avatar, content */