shantanu1998s
/
HTML-CSS-Project---CSS-Input-attributes-Value-Readonly-Disabled-Maxlength-m---2k40jn1bxhia
Public
generated from Newton-School/html-css-js-project-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
49 lines (49 loc) · 915 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
* {
box-sizing: border-box;
}
main {
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
}
.main {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
border: 2px solid black;
border-radius: 10px;
width: 500px;
height: 350px;
}
.input {
display: flex;
align-items: center;
justify-content: center;
}
input {
width: 50px;
height: 70px;
margin: 5px;
text-align: center;
font-size: 30px;
border: 1px solid rgb(235, 235, 235);
border-radius: 10px;
outline: none;
}
input:focus {
border: 1px solid rgb(141, 141, 255);
}
input::placeholder {
color: rgb(208, 208, 208);
}
p {
text-align: center;
margin: 10px 50px;
}
.last {
background-color: rgb(228, 228, 228);
color: rgb(145, 145, 145);
padding: 10px;
}