Skip to content

Commit e537daa

Browse files
committed
Enhance footer styles for better layout
1 parent 5cbfef2 commit e537daa

2 files changed

Lines changed: 13 additions & 2 deletions

File tree

‎Form-Controls/index.html‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,21 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en">
33
<head>
44
<meta charset="utf-8" />
55
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
66
<title>My form exercise</title>
7-
<meta name="description" content="" />
7+
<meta
8+
name="form controls"
9+
content="an exercise on the understanding of form controls"
10+
/>
811
<meta name="viewport" content="width=device-width, initial-scale=1" />
12+
<link rel="stylesheet" href="styles.css" />
913
</head>
1014
<body>
1115
<header>
1216
<h1>T-Shirt Product Pick</h1>
1317
</header>
18+
1419
<!-- T-Shirt Information Collection Form Design (Name Email and T-shirt color) -->
1520
<main>
1621
<form>

‎Form-Controls/styles.css‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,3 +74,9 @@ button[type="submit"] {
7474
button[type="submit"]:hover {
7575
background-color: blue;
7676
}
77+
78+
footer {
79+
margin-top: 20px;
80+
font-size: 0.9em;
81+
82+
}

0 commit comments

Comments
 (0)