-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathformulario.css
More file actions
90 lines (79 loc) · 1.55 KB
/
formulario.css
File metadata and controls
90 lines (79 loc) · 1.55 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
body {
font-family: Arial, sans-serif;
margin: 49px;
padding: 600px;
width: 300px;
background-color: #f4f4f4;
}
h1 {
text-align: center;
margin-bottom: 20px;
font-size: 36px;
color: #007bff;
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
}
form {
max-width: 500px;
margin: 0 auto;
background-color: #fff;
border-radius: 10px;
box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.1);
padding: 20px;
}
form label {
display: block;
margin-bottom: 10px;
font-size: 18px;
color: #007bff;
}
input[type="number"] {
width: 100%;
padding: 10px;
margin-bottom: 20px;
border-radius: 5px;
border: 1px solid #ccc;
transition: all 0.2s ease-in-out;
}
input[type="number"]:hover,
input[type="number"]:focus {
border: 1px solid #007bff;
}
fieldset {
border: none;
margin-bottom: 20px;
}
fieldset legend {
font-weight: bold;
font-size: 20px;
margin-bottom: 10px;
color: #007bff;
}
fieldset label {
display: block;
margin-bottom: 10px;
font-size: 16px;
color: #333;
}
button {
display: block;
margin: 0 auto;
padding: 10px 20px;
background-color: #007bff;
color: #fff;
border: none;
cursor: pointer;
font-size: 18px;
border-radius: 5px;
box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
transition: all 0.2s ease-in-out;
}
button:hover {
background-color: #0056b3;
}
#resultado {
margin-top: 30px;
text-align: center;
font-size: 24px;
color: #007bff;
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
}