本文介绍了如何在html的样式alt工具提示?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否可以为alt属性设置工具提示样式?
Is it possible to style the tooltip for the alt attribute?
我希望为html alt设置样式背景,字体颜色等
I wish to style the background, font color etc for the html
alt
attribute.
任何人都可以帮我解决这个问题。
Can anyone help me with this please?
推荐答案
您可以使用新的HTML5自定义
数据 -
属性:
You could use the new HTML5 custom
data-
attribute: Semantic Tooltips With Pure CSS3 and HTML5.
这篇关于如何在html的样式alt工具提示?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!