Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我们经常这样在HTML<abbr>中使用标签
<abbr>
<abbr title="Laugh Out Loud">LOL</abbr>
在 PC 上,我们将鼠标悬停在LOL上足够长的时间,就会出现Laugh Out Loud工具提示(有点意思)。我们在 PHONES 上做什么来查看标签的标题<abbr>?比如,我们是否触摸并按住,我们是否双击(这些都不起作用,我试过了)?
好吧,当用户触摸文本时,移动设备不会显示工具提示,但可以使用 CSS 伪元素属性对其进行修改。查看下面的链接:
使 abbr 元素适用于触摸屏、键盘和鼠标