popup.css
832 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
*{
margin: 0;
padding: 0;
}
body{
width: 240px;
height: 200px;
position: relative;
}
input,
button,
.msg,
.tit{
display: block;
width: 80%;
box-sizing: border-box;
margin: 20px auto;
padding: 5px 2px;
border-radius: 4px;
line-height: 16px;
}
input,
button{
outline: medium;
border: 1px solid #ddd;
background: #efefef;
}
button{
background: #55b131;
color: #fff;
cursor: pointer;
border-color: #469129;
}
.hide{
display: none;
}
.msg{
transition: opacity .2s linear;
}
.tit{
font-size: 14px;
color: #469129;
}
.bg{
position: absolute;
top: -10%;
left: -10%;
width: 120%;
height: 120%;
background-image: url('./icon.png');
background-size: cover;
background-position: center center;
opacity: 0.1;
z-index: -1;
-webkit-blur: filter(3px);
}
.login-box input,
.login-box button{
margin: 10px auto;
}