-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathstyles.css
54 lines (48 loc) · 961 Bytes
/
styles.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
@import url('https://fonts.googleapis.com/css?family=Comfortaa');
*{
margin: 0;
padding: 0;
outline: none;
box-sizing: border-box;
font-family: 'Comfortaa', cursive;
}
body{
background: url('https://i.imgur.com/NMnbn2s.jpg') no-repeat center;
background-size: cover;
width: 100%;
height: 100vh;
}
.wrapper{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: rgba(0, 0, 0,0.6);
max-width: 550px;
width: 100%;
padding: 15px;
display: flex;
justify-content: space-between;
border-radius: 5px;
}
.wrapper .input {
width: 85%;
padding: 15px 20px;
border: none;
border-radius: 5px;
font-weight: bold;
}
.searchbtn {
background: #ffec00;
width: 10%;
border-radius: 5px;
position: relative;
cursor: pointer;
}
.searchbtn .fas{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 18px;
}