Skip to content

Commit ba0cad3

Browse files
Move CSS to external stylesheet per review feedback
1 parent 612d7a1 commit ba0cad3

2 files changed

Lines changed: 17 additions & 18 deletions

File tree

‎Form-Controls/index.html‎

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,12 @@
11
<!DOCTYPE html>
22
<html lang="en">
33
<head>
4-
<style>
5-
input[type="radio"] {
6-
width: 20px;
7-
height: 20px;
8-
margin: 8px;
9-
}
10-
11-
label {
12-
display: inline-flex;
13-
align-items: center;
14-
padding: 6px 4px;
15-
}
16-
17-
button[type="submit"] {
18-
padding: 10px 20px;
19-
min-height: 44px;
20-
}
21-
</style>
224
<meta charset="utf-8" />
235
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
246
<title>My form exercise</title>
257
<meta name="description" content="" />
268
<meta name="viewport" content="width=device-width, initial-scale=1" />
9+
<link rel="stylesheet" href="style.css">
2710
</head>
2811
<body>
2912
<header>

‎Form-Controls/style.css‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
input[type="radio"] {
2+
width: 20px;
3+
height: 20px;
4+
margin: 8px;
5+
}
6+
7+
label {
8+
display: inline-flex;
9+
align-items: center;
10+
padding: 6px 4px;
11+
}
12+
13+
button[type="submit"] {
14+
padding: 10px 20px;
15+
min-height: 44px;
16+
}

0 commit comments

Comments
 (0)