forked from Nyaigoti/Greentitan.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyleGI.css
More file actions
66 lines (58 loc) · 1.06 KB
/
styleGI.css
File metadata and controls
66 lines (58 loc) · 1.06 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
*{
margin: 0;
padding: 0;
font-family: 'poppins', 'sans-serif';
box-sizing: border-box;
}
section h1{
font-size: 3rem;
}
#form{
width: 100%;
height: 100vh;
background-image: linear-gradient(rgba(0,0,0,0.5), #C6E57D) ,url(images/GI-background.jpg);
background-position: center;
background-size: cover;
display: flex;
align-items: center;
justify-content: center;
}
form{
width: 90%;
max-width: 600px;
}
.input_group{
margin-bottom: 30px;
position: relative;
}
input, textarea{
width: 100%;
padding: 10px;
outline: 0;
border: 1px solid #fff;
color: #fff;
background: transparent;
font-size: 15px;
}
form label{
height: 100%;
position: absolute;
left: 0;
top:0;
padding: 10px;
color: black;
cursor: text;
}
button{
padding: 10px 0;
color: black;
outline: none;
background: transparent;
border: 1px solid #C6E57D;
width: 100%;
cursor: pointer;
}
input:focus~label, input:valid~label {
top: -35px;
font-size: 14px;
}