File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- <!DOCTYPE html>
1+ <!doctype html>
22<html lang="en">
33 <head>
44 <meta charset="utf-8" />
Original file line number Diff line number Diff line change 1+ body {
2+ font-family: Arial, sans-serif;
3+ background-color: #f2f2f2;
4+ margin: 0;
5+ }
6+
7+ header {
8+ background-color: #333;
9+ color: white;
10+ text-align: center;
11+ padding: 20px;
12+ }
13+
14+ header h1 {
15+ margin: 0;
16+ }
17+
18+ main {
19+ max-width: 600px;
20+ margin: 30px auto;
21+ padding: 0 20px;
22+ }
23+
24+ fieldset {
25+ background-color: white;
26+ border: 1px solid #ccc;
27+ border-radius: 8px;
28+ padding: 20px;
29+ margin-bottom: 20px;
30+ }
31+
32+ legend {
33+ font-weight: bold;
34+ padding: 0 20px;
35+ }
36+
37+ fieldset p {
38+ margin-bottom: 15px;
39+ }
40+
41+ input[type="text"],
42+ input[type="email"] {
43+ display: block;
44+ width: 100%;
45+ box-sizing: border-box;
46+ padding: 10px;
47+ margin-top: 6px;
48+ border: 1px solid #bbb;
49+ border-radius: 5px;
50+ }
51+
52+ select {
53+ display: block;
54+ margin-top: 6px;
55+ padding: 10px;
56+ border: 1px solid #bbb;
57+ border-radius: 5px;
58+ }
59+
60+ input[type="submit"] {
61+ background-color: #bbb;
62+ color: black;
63+ font-weight: bold;
64+ padding: 10px 20px;
65+ border-radius: 5px;
66+ }
67+ input[type="text"]:focus,
68+ input[type="email"]:focus,
69+ input[type="radio"]:focus,
70+ input[type="submit"]:focus,
71+ select:focus {
72+ outline: 3px solid black;
73+ }
74+
75+ footer {
76+ font-weight: bold;
77+ padding: 10px 20px;
78+ margin-top: 6px;
79+ }
You can’t perform that action at this time.
0 commit comments