-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
94 lines (92 loc) · 1.65 KB
/
style.css
File metadata and controls
94 lines (92 loc) · 1.65 KB
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
*{
box-sizing: border-box;
padding: 0%;
margin: 0%;
}
body{
display: flex;
align-items: center;
justify-content: center;
min-height: 100vh;
background-color: darkviolet;
}
.container{
background-color: white;
max-width: 410px;
border-radius: 8px;
padding: 16px 25px ;
height: 270px;
transition: 0.2s 0.2s ease;
}
.container.active{
height: 500px;
}
header h1{
font-size: 21px;
font-weight: 700;
font-family: sans-serif;
}
header p{
font-size:16px ;
color: brown;
margin-top: 5px;
font-family: sans-serif;
}
.container .box{
margin: 20px 0 30px;
}
.box :where(input , button){
width: 100%;
border: none;
border-radius: 5px;
outline: none;
height: 55px;
}
.box input{
padding: 0 17px;
border: 1px solid blue;
font-size: 18px;
}
.box button{
color: white;
background-color: purple;
font-size: 17px;
margin-top: 20px;
cursor: pointer;
}
.container .code{
border: 1px solid lightgrey;
padding: 33px 0;
justify-content: center;
align-items: center;
display: flex;
opacity: 0;
pointer-events: none;
}
.container.active .code{
opacity: 1;
pointer-events: auto;
transition: opacity 0.5s 0.5s ease;
}
footer{
color: white;
justify-content: center;
align-items: center;
font-weight: 900;
margin-left: 60px;
font-size: 1rem;
font-family: sans-serif;
}
/*responsiveness*/
@media screen and (max-width:500px){
.container{
max-width: 300px;
}
.container.active{
height: 500px;
}
footer{
margin-left: 30px;
font-size: 0.7rem;
}
}