-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
70 lines (60 loc) · 1.14 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
63
64
65
66
67
68
69
70
*{
box-sizing: border-box;
padding: 0;
margin: 0;
}
body{
background-color: #fff;
font-family: cursive;
}
.container{
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
flex-direction: column;
}
.box{
display: flex;
justify-content: center;
align-items: stretch;
flex-direction: column;
padding: 30px;
border-top-left-radius: 20px;
border-bottom-right-radius: 20px;
margin: 10px 0;
}
.box h1, h4 {
margin: 10px 0 20px;
text-align: center;
}
.box input, .btn-gen{
margin: 10px 0;
height: 40px;
border: none;
outline: none;
}
input{
padding: 0 0 0 25%;
background-color: #eee;
border-radius: 20px;
letter-spacing: 5px;
transition: 0.3s;
}
input:focus{
padding: 0 0 0 10%;
letter-spacing: 2px;
}
.btn-gen{
border-top-left-radius: 20px;
border-bottom-right-radius: 20px;
transition: 0.3s;
cursor: pointer;
}
.btn-gen:hover{
background-color: #ddd;
border-top-left-radius: 0;
border-bottom-right-radius: 0;
border-top-right-radius: 20px;
border-bottom-left-radius: 20px;
}