
its presence will be :

Now in test.css file, I have some lines of code
So full code of css is :#menu a, #menu a:visited {and its presence after having the code:
text-align:center;
text-decoration:none;
color:#000;
display:block;
width:7em;
height:1.2em;
border:0.5em solid #fff;
}
Making a hover for each text in the menu:#menu a:hover {and its presence now:
color:#fff;
background-color:#b2ab9b;
border-color:#dfd7ca #b2ab9b;
}
#menu a, #menu a:visited {We can change a bit different look by chaning border in menu
text-align:center;
text-decoration:none;
color:#000;
display:block;
width:7em;
height:1.2em;
border:0.5em solid #fff;
}
#menu a:hover {
color:#fff;
background-color:#b2ab9b;
border-color:#dfd7ca #b2ab9b;
}
#menu a, #menu a:visited {
text-align:center;
text-decoration:none;
color:#000;
display:block;
width:7em;
height:1.2em;
border:0.5em solid #abc;// a look is changed by this line



No comments:
Post a Comment