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.
我正在尝试创建鼠标悬停效果,从而文本(或图像)在鼠标悬停时会下降到 50% 的不透明度。
因为我是为电子邮件签名创建的,所以我仅限于使用内联 CSS 和 HTML。
迄今为止,Outlook (Even 2013) 不支持任何 CSS3 或 javascript / jQuery。
html:
<div id="something">Hello!</div>
CSS 代码:
#something:hover { opacity:0.5; filter="alpha(opacity=50)"; }