-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathregi.css
More file actions
66 lines (66 loc) · 1.26 KB
/
regi.css
File metadata and controls
66 lines (66 loc) · 1.26 KB
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
body{
margin: 0;
padding: 0;
font-family: sans-serif;
background-image: url(hote.jpg);
background-size:cover;
}
.box{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
width: 400px;
padding: 30px;
background: rgba(0,0,0,.8);
box-sizing: border-box;
box-shadow: 0 15px 25px rgba(0,0,0,.5);
border-radius: 10px;
}
.box h2{
color :cornsilk;
padding: 0;
margin: 30px;
text-align: center;
font-size: 35px;
}
.box .inputbox{
position:relative;
}
.box .inputbox input{
width: 100%;
padding: 10px;
font-size: 15px;
margin-bottom: 30px;
border: none;
border-bottom: 1px solid aliceblue;
outline: none;
background: transparent;
color: aliceblue;
}
.box .inputbox label{
position: absolute;
top: 0;
left: 0;
padding: 10px;
font-size: 15px;
color: aliceblue;
pointer-events: none;
transition: .5s;
}
.box .inputbox input:focus ~ label,
.box .inputbox input:valid ~ label{
top: -20px;
left: 0;
color: blue;
font-size: 15px;
}
.box input[type="submit"]{
background: transparent;
border: none;
outline: none;
color: aliceblue;
background: blue;
padding: 10px;
border-radius: 5px;
}