0
如何控制abbr標籤,以便我不僅可以更改標題,而且還可以在標題中顯示消息時更改時間。我是否需要使用php或js來執行此操作?如何控制abbr標籤的時間?
如何控制abbr標籤,以便我不僅可以更改標題,而且還可以在標題中顯示消息時更改時間。我是否需要使用php或js來執行此操作?如何控制abbr標籤的時間?
你可能想使用類似這樣
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>
顯示'title'提示時,可以不影響。使用自定義的工具提示解決方案 - 應該很容易找到相應的資源。 – CBroe 2014-11-09 01:44:07
@CBroe好的,謝謝! – 2014-11-09 01:50:47