-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbase.css
61 lines (50 loc) · 884 Bytes
/
base.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
h1 {
color: red;
}
*{
margin: 0;
padding: 0;
border: 0;
outline: 0;
box-sizing: border-box;
}
body{
height: 100vh;
align-items: center;
justify-content: center;
}
.search{
position: relative;
width: 50px;
height: 50px;
text-align: center;
line-height: 55px;
background: rgb(16, 141, 190);
border-radius: 30px;
overflow: hidden;
transition: .8s;
box-shadow: 0 0 10px rgba(0, 0, 0, .2);
}
.search:hover{ width: 300px;}
.search:hover i{
position: absolute;
right: 15px;
top: 12px;
cursor: pointer;
}
.search:hover input{
display: block;
position: absolute;
background: transparent;
color: #fff;
height: 32px;
font-size: larger;
top: 8px;
left: 20px;
width: 230px;
}
.search input{ display: none; }
.search i{
color: #fff;
font-size: 22px;
}