my font is to be #fff and the mouse over is #3cf.
I am confused how to write the css using multiple Ids and the a:hover.
https://jsfiddle.net/zpupster/0mg4cyLs/
#btn1, #btn2, #btn3
{
background-color: #003399;
color: #FFF;
}
#btn1, #btn2, #btn3, a:hover
{
color:#3cf;
}
thanks...
aanda:hover. And if it's only a select group ofatags you could use.btn-group > ain your example.IDs, if you had 20 buttons you would have to include#btn1, #btn2, #btn3 .... #btn20, whereas a class would just be.btn { background-color: #003399; color: #FFF; }, and you could add that class to all links.