I want to fix the footer at the bottom of screen like if the screen height is increase or decrease it comes on the bottom of screen, it never be come shorter then screen height?
HTML
<div class="footer">
<p> <a href="../info/about.php">About </a><a href="../info/help.php">Help </a><a href="../info/terms.php">Terms </a><a href="../info/privacy.php">Privacy </a><a href="../info/advertise.php">Advertise</a><a> - </a>@2016 webste</p>
</div>
CSS
.footer {
background-color:#fafafa;
text-align: center;
height:30px;
margin-top:10%;
}
.footer p {
color: #3c4a50;
line-height: 25px;
font-size: 13.3333px;
font-family: Arial;
}
.footer a {
color: #3c4a50;
text-decoration: none;
font-size: 13.3333px;
line-height: normal;
padding-right:0.5%;
}
.footer a:hover {
color: #252d31;
font-size:95%;
}