Skip to content

Commit 76cb852

Browse files
author
lintsang
committed
fixed footer at bottom
1 parent 93a9337 commit 76cb852

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

Form-Controls/css/style.css

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
body{
2+
position: relative;
3+
height: 100%;
4+
padding-bottom: 30px;
5+
}
6+
7+
header{
8+
text-align: center;
9+
}
10+
111
h1{
212
font-family: 'Times New Roman', Times, serif;
313
font-size: 1.5rem;
@@ -35,3 +45,10 @@ input, select, button{
3545
font-size: 1em;
3646
border-radius: 0.3em;
3747
}
48+
49+
footer{
50+
position: fixed;
51+
bottom: 0;
52+
width: 100%;
53+
text-align: center;
54+
}

0 commit comments

Comments
 (0)