如何更改锚标记内title属性的样式?

如何更改锚标记内title属性的样式?,第1张

如何更改锚标记内title属性样式

这是一个如何做的例子:

a.tip {    border-bottom: 1px dashed;    text-decoration: none}a.tip:hover {    cursor: help;    position: relative}a.tip span {    display: none}a.tip:hover span {    border: #c0c0c0 1px dotted;    padding: 5px 20px 5px 5px;    display: block;    z-index: 100;    background: url(../images/status-info.png) #f0f0f0 no-repeat 100% 5%;    left: 0px;    margin: 10px;    width: 250px;    position: absolute;    top: 10px;    text-decoration: none}
<a href="#" >link<span>This is the CSS tooltip showing up when you mouse over the link</span></a>


欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/zaji/5675823.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-12-17
下一篇 2022-12-17

发表评论

登录后才能评论

评论列表(0条)

保存