-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
62 lines (55 loc) · 1.13 KB
/
style.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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
user-select: none;
}
body{
font-family: Arial, Helvetica, sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #f8f8f8;
}
.input-box{
width: 450px;
}
.input-box h2{
font-size: 2.5rem;
text-transform: uppercase;
}
.input-box input{
position: relative;
height: 60px;
width: 100%;
background: transparent;
border: none;
border-radius: 8px;
color: #333;
margin: 15px 0 20px;
outline: none;
font-size: 24px;
padding: 0 20px;
letter-spacing: 2px;
box-shadow: -4px -4px 5px rgba(255, 255, 255, 1),
inset 4px 4px 5px rgba(0, 0, 0, 0.2),
inset -4px -4px 10px rgba(255, 255, 255, 1),
4px 4px 5px rgba(0, 0, 0, 0.1);
}
.input-box input::placeholder {
letter-spacing: 0;
}
.input-box #btn {
position: relative;
background: #333;
color: #fff;
cursor: pointer;
font-size: 24px;
display: inline-block;
padding: 10px 15px;
border-radius: 8px;
}
.input-box #btn:active {
background: #9c27b0;
}