Skip to content

Commit 1524929

Browse files
committed
Few styles added for error text, button and label.
1 parent 8ef9942 commit 1524929

File tree

1 file changed

+12
-31
lines changed

1 file changed

+12
-31
lines changed

src/App.css

Lines changed: 12 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,19 @@
1-
.App {
2-
text-align: center;
1+
.form-control {
2+
width: 50%;
3+
border: 1px solid #ccc;
4+
padding: 10px;
35
}
46

5-
.App-logo {
6-
height: 40vmin;
7-
pointer-events: none;
7+
.control-error {
8+
border: 1px solid red;
89
}
910

10-
@media (prefers-reduced-motion: no-preference) {
11-
.App-logo {
12-
animation: App-logo-spin infinite 20s linear;
13-
}
11+
label {
12+
margin-right: 5px;
1413
}
1514

16-
.App-header {
17-
background-color: #282c34;
18-
min-height: 100vh;
19-
display: flex;
20-
flex-direction: column;
21-
align-items: center;
22-
justify-content: center;
23-
font-size: calc(10px + 2vmin);
24-
color: white;
25-
}
26-
27-
.App-link {
28-
color: #61dafb;
29-
}
30-
31-
@keyframes App-logo-spin {
32-
from {
33-
transform: rotate(0deg);
34-
}
35-
to {
36-
transform: rotate(360deg);
37-
}
15+
.btn-submit {
16+
margin: 20px 45px;
17+
padding: 8px 14px;
18+
font-size: 16px;
3819
}

0 commit comments

Comments
 (0)