forked from tejaswini22199/KnowledgeShare
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
90 lines (87 loc) · 1.77 KB
/
style.css
File metadata and controls
90 lines (87 loc) · 1.77 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
background-image: url('background.jpg');
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
}
body{
margin: 0 5vw 0 5vw;
padding:2% 3% 12% 3%;
background: white;
border-left: 1.5vw solid #007bff;
border-right: 1.5vw solid #007bff;
}
.btn{
margin-top:10px;
color: white;
display: block;
margin:15px auto;
}
.btn:hover{
background: #393e46;
color: white;
}
.btn:focus{
background: #8f04ec;
color: white;
}
.form-group{
position:relative;
overflow: hidden;
}
.form-group input{
padding: 25px 0 5px 0;
height:100%;
width: 100%;
border : none;
}
.form-control:focus{
border: none;
box-shadow: none;
}
.form-group label{
position: absolute;
padding:0 0;
bottom:0;
left:0;
margin-bottom: 0;
width: 100%;
height:100%;
pointer-events: none;
border-bottom: 1px solid black;
}
.form-group label::after{
content:"";
position: absolute;
margin-bottom: 0;
height: 100%;
left:0;
bottom:-1px;
width:100%;
border-bottom:4px solid #5fa8d3;
transform: translateX(-101%);
transition: all 0.4s ease;
}
.content-name{
position: absolute;
bottom: 0px;
left: 0;
transition: all 0.3s ease;
}
.form-group input:focus + .label-name .content-name{
transform:translateY(-100%);
font-size: 16px;
color: #5fa8d3;
}
.form-group input:not(:placeholder-shown) + .label-name .content-name{
transform:translateY(-100%);
font-size: 16px;
color: #5fa8d3;
}
.form-group input:focus + .label-name::after,
.form-group input:not(:placeholder-shown) + .label-name::after{
transform: translateX(0%);
}
#hidden
{
display: none;
}