このコードでナビゲーションバーの色を変更するにはどうすればよいですか?
CSS
<style type="text/css">
body
{
background-color:#454545;
color:white;
font-family:"Courier New";
text-align:center;
}
a:link
{
color:white;
}
a:visited
{
color:white;
}
a:hover
{
color:white;
}
a:active
{
color:white;
}
.nav
{
border:1px solid #ccc;
border-width:1px 0;
list-style:none;
margin:0;
padding:0;
text-align:center;
}
.nav li{
display:inline;
}
.nav a
{
display:inline-block;
padding:10px;
}
h1
{
font-size:40;
}
h2
{
font-size:27.5;
text-decoration:underline;
}
h3
{
font-size:20;
}
p
{
font-size:12;
}
</style>
HTML
<li><a href="http://">Home</a></li>
<li><a href="http://">Youtube</a></li>
<li><a href="https://">Twitter</a></li>
私はそれを変更する方法を調べましたが、それは私にツイッターについてのことしか与えませんでした。ページ全体の色ではなく、ナビゲーションバーの色を変更する方法を知りたいだけです。