Skip to content

Commit 612d7a1

Browse files
Fix doctype and improve touch target sizing
1 parent c9f584d commit 612d7a1

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

Form-Controls/index.html

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,24 @@
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>
422
<meta charset="utf-8" />
523
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
624
<title>My form exercise</title>

0 commit comments

Comments
 (0)