我无法保持联系人和社交媒体链接的中心位置,但页脚链接可以链接到网站堆栈的其他部分。
#page_footer {
width: 100% margin-top: 100px;
height: 180px;
background: #3b3b3b;
overflow: hidden;
text-align: center;
}
footer .footer_nav ul {
list-style: none;
}
footer .footer_nav ul li {
display: block;
margin-bottom: auto;
px;
}
footer .footer_nav ul li a {
text-decoration: none;
color: #fff;
font-family: "Quicksand", sans-serif;
font-size: 16px;
letter-spacing: 1px;
padding-bottom: 3px;
border-bottom: 1px solid #3b3b3b;
}
footer .footer_nav ul li a:hover {
border-bottom: 2px solid #FFF;
}
footer .footer_nav ul li a{
text-decoration: none;
color: #fff;
font-family: "Quicksand", sans-serif;
font-size: 16px;
letter-spacing: 1px;
padding-bottom: 3px;
border-bottom: 1px solid #3b3b3b;
}
footer .footer_nav ul li a:hover{
border-bottom: 2px solid #FFF;
}
下面是带有社交细节的Html,然后是
下面的页脚导航 <footer id="page_footer">
<div id="social_links" class="split">
<a href="https://twitter.com/" title="@" id="twitter" class="social">@
<br>
<i class="fa fa-twitter" style="color:white"></i>
</a>
</div>
<br>
<ul>
<section class="footer_nav">
<nav>
<ul>
<li><a href="#home">Home</a></li>
<li><a href="#about">About</a></li>
<li><a href="#solutions">Solutions</a></li>
<li><a href="#contact">Pricing</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</nav>
</section>
<p id="credit"><small>Site designed & developed by <a href=""></a></p>
</footer>
</html>
答案 0 :(得分:0)