如何控制缩写标签,以便我不仅可以更改标题,还可以更改标题中消息出现的时间?我需要使用php或js吗?
您可能想要使用类似的东西
abbr {
position: absolute;
opacity: 0;
bottom:-20px;
left:0;
transition:0.5s opacity;
/* Here is the delay */
transition-delay:0.5s;
}
.text {
position:relative;
cursor:help;
}
.text:hover abbr {
opacity:1;
}
<span class="text"> This is a text with abbrevation <abbr>This is the abbrevation</abbr></span>