-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathfancy.css
72 lines (63 loc) · 1.12 KB
/
fancy.css
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
body{
height: 60vh;
display: flex;
justify-content: space-around;
align-items: center;
flex-direction: column;
font-family: cursive;
}
.form{
width: 50%;
height: 50%;
position: relative;
}
.form input{
width: 100%;
height: 100%;
color: indigo;
padding-top: 20px;
border: none;
outline:none;
}
.form lable{
position: absolute;
bottom: 0px;
left: 0%;
width: 100%;
height: 100%;
pointer-events: none;
border-bottom: 1px solid black;
}
.form label::after {
position: absolute;
bottom: -1px;
left: 0%;
width: 100%;
height: 100%;
pointer-events: none;
border-bottom: 3px solid blue;
}
.form input:focus + .label-name .content-name, .from input:valid + .label-name .content-name{
transform:translate(-150) ;
font-size: 14px;
color: blue;
}
.Home{
width: 50px;
height:30px;
position: relative;
left: -300px;
}
.About{
width: 50px;
height:30px;
position: relative;
left: 0px;
}
.Contact{
width: 60px;
height:30px;
position: relative;
left: 300px;
}
@keyframes