【发布时间】:2020-06-22 15:58:21
【问题描述】:
当您将鼠标悬停在弹出框上时,我试图在弹出框内添加一个链接,但不幸的是,它不起作用。我想知道是否有人可以看到我做错了什么?我的方法是在另一个 a 标签内添加一个 href 标签,但它不起作用。任何指导表示赞赏。
a:active:after {
content: attr(title);
padding: 5px;
border: 1px solid #ccc;
top: 5px;
right: 10%;
background: #bada55;
}
a:visited {
color: green;
}
a:hover {
color: DarkOrchid;
text-decoration: underline;
}
a:active {
color: yellow;
}
.twitter {
margin: 2em auto 0px auto;
font-family: Arial;
font-size: small;
font-weight: bold;
color: #f5911d;
text-align: center;
padding: 0;
left: 0px;
top: 0px;
overflow: visible;
}
/* SIGNATURE CODE */
a {
color: #f77d06;
-o-transition: color .5s ease-out, background 7s ease-in;
-ms-transform: color .5s ease-out, background 7s ease-in;
-moz-transition: color .5s ease-out, background 7s ease-in;
-webkit-transition: color .5s ease-out, background 7s ease-in;
transition: color .5s ease-out, background 7s ease-in;
text-decoration: none;
}
a:hover {
color: #FFF;
background: none;
text-decoration: none;
}
<div class="col-sm-2 col-xs-2 text-left">
<i class="fa m-r-15 text-left" style="font-weight: bold"><a style="color:orangered" data-toggle="popover" title="LEARN MORE" data-content="Want to lear more Check out out definition page by clicking <a href='www.google.com'> here">My Pizza Deliveries</a></i>
</div>
<script>
$(document).ready(function() {
$('[data-toggle="popover"]').popover({
placement: 'top',
trigger: 'hover'
});
});
</script>
【问题讨论】:
-
@urvashi 它位于 sn-p 的 html 部分的图标类中。