forked from Rohit27698/carver_Clone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathOTP.css
96 lines (83 loc) · 1.72 KB
/
OTP.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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
/* Reset default styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Set a background color */
body {
background-color: rgb(83, 81, 81);
display: flex;
justify-content: center;
text-align: center;
align-items: center;
font-family: inter, sans-serif;
}
/* Style the container */
.container {
margin: 94px 302px;
background-color: white;
height: 560px;
width: 380px;
border-radius: 3% 3% 0% 0%;
outline: 1px solid #c9c8c8;
padding: 0 30px 37px;
}
/* Style the heading */
h2 {
margin-bottom: 40px;
text-align: center;
font-size: 2.5rem;
}
/* Style the form */
form {
display: flex;
flex-direction: column;
}
/* Style the form group */
.form-group {
margin-bottom: 20px;
}
/* Style the label */
label {
display: block;
margin-bottom: 10px;
font-size: 1.2rem;
}
/* Style the input */
input[type="tel"] {
padding: 10px;
font-size: 1.2rem;
border-radius: 5px;
border: none;
border: 1px solid #ddd;
background-color: #f9f9f9;
outline: none;
}
/* Disable input when not needed */
input[disabled] {
background-color: #eee;
}
/* Style the button */
button {
padding: 10px;
font-size: 1.2rem;
color: #fff;
background-color: #161214;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.2s ease-in-out;
}
/* Hover effect */
button:hover {
background-color: #2e2025;
}
/* Disable button when not needed */
button[disabled] {
opacity: 0.5;
cursor: not-allowed;
}
img {
height: 80px;
}