MOUSEOVER上的超链接颜色更改 [英] Hyperlink color change on MOUSEOVER
本文介绍了MOUSEOVER上的超链接颜色更改的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
亲爱的朋友们,祝你有愉快的一天,
我的网页上有一个超链接,当我鼠标悬停在它上面......它应该改变当鼠标悬停时,该链接的颜色也必须加下划线。
注意:
鼠标悬停时我需要这两样东西
1)链接颜色变化
2)链接必须加下划线。
请帮助。
Dear Frnds, Have a nice day,
I have a hyperlink on my webpage, when i Mouse over it......it should change the color of that link and also it must be underlined when mouse over.
NOTE :
I need these two things when mouseover
1)Link color change
2)link must be underlined.
PLEASE HELP THANKS.
推荐答案
使用此css
Use this css
.Link
{
color:Black;
}
.Link:hover
{
color:Blue;
text-decoration:underline;
}
.Link
{
颜色:Skyblue;
}
.Link:悬停
{
颜色:蓝色;
文字装饰:下划线;
}
通过在项目中创建CSS类来添加属性,并使用metalink将文件附加到您需要的位置。
.Link
{
color:Skyblue;
}
.Link:hover
{
color:Blue;
text-decoration:underline;
}
Add the property by creating a CSS class in your project and by using metalink attach the file where ever you needs.
这篇关于MOUSEOVER上的超链接颜色更改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文