css for for navigation manu site:stackoverflow.com code example
Example 1: css for for navigation manu site:stackoverflow.com
.body-color {
background: rgb(27,39,57)
}
a {
text-decoration: none;
color: red;
padding-right: 20px;
}
li {
display: inline-block;
padding-right: 30px;
}
#menu {
text-align: center;
background-color: white;
padding-bottom: 100px;
}
Example 2: css for for navigation manu site:stackoverflow.com
<div class="nav">
<div id="nav-wrapper">
<ul>
<li><a href="about.html">About</a></li>
<li><a href="portfolio.html">Portfolio</a></li>
<li><a href="service.html">Service</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
<ul class="social">
<li class="facebook"><a href="https://www.facebook.com/jason.murray.3975012"</a>Facebook</li>
<li class="twitter"><a href="https://twitter.com/jmurray504"</a>Twitter</li>
<li class="linkedin"></li><a href="http://http://www.linkedin.com/pub/jason-murray/42/249/440/"</a>Linkedin</li>
</ul>
</div>
</div>
CSS
.social {
list-style-type: none;
padding: 0;
margin: 0;
}
.facebook li {
background: url(Image/facebook.png);
height: 20px;
width: 18px;
}
.twitter li {
background: url(Image/twitter.png);
height: 20px;
width: 18px;
}
.linkedin li {
background: url(Image/linkedin.png);
height: 20px;
width: 18px;
}