-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathform.css
More file actions
99 lines (95 loc) · 1.92 KB
/
form.css
File metadata and controls
99 lines (95 loc) · 1.92 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
*{
margin:0;
padding: 0;
box-sizing: border-box;
}
*:focus{
outline: none;
}
body{
position: relative;
width: 100%;
min-height: 100vh;
height: auto;
display: flex;
justify-content: center;
align-items: center;
background: url('../img/HD-wallpaper-car-minimalism-simple-art-minimalism-cars-art-artist-digital-art.jpg');
background-size: cover;
background-position: center;
font-family: 'roboto',sans-serif;
}
.form{
width: 400px;
height: auto;
color:#fff;
font-family: 'roboto',sans-serif;
}
.heading{
text-transform: capitalize;
text-align: center;
font-size: 120px;
font-weight: 300;
margin-bottom: 50px;
color: rgba(0, 0, 0, 0.553);
}
input,
.submit-btn{
width:80%;
height: 35px;
display: block;
margin:20px auto;
border-radius:5px;
background: rgba(255,255,255,0.3);
border:none;
color:#fff;
padding:15px;
transition: .5s;
text-transform: capitalize;
}
input::placeholder{
color: #fff;
}
input:focus,
.submit-btn:hover{
background: #fff;
color:#000;
}
input:focus::placeholder{
color: #000;
}
.submit-btn{
width:auto;
padding:0 20px;
cursor:pointer;
margin:50px auto 0;
}
.link{
text-align: center;
text-transform: capitalize;
color:rgba(24, 17, 17, 0.559);
margin:40px auto;
}
.link:hover{
color:#fff;
}
.alert-box{
position: absolute;
top:-100%;
left:50%;
transform:translateX(-50%);
min-width:150px;
max-width:90%;
width: auto;
height: auto;
padding:10px;
text-transform: capitalize;
background: rgb(255,119,119);
border-top:10px solid rgd(255,37,37);
border-bottom-left-radius:10px;
border-right:10px;
color:#fff;
font-family: 'roboto',sans-serif;
text-align: center;
transition: 1s;
}