问题描述
我正在创建一个通讯,我想要一个面板,鼠标改变背景颜色。
看到的通讯没有头,我定义所有的样式内联。我确定最流行的邮件客户端将阻止JS。所以我想知道是否可以在样式属性中定义悬停效果。或者有任何其他解决方案来实现这种效果吗?
和平
/ p>
后一篇文章说:
Javascript是一个没有去。真的没有解决方案,有些会接受:hover,有些不。从第一个链接,您可以看到哪个和哪个不会。
I'm creating a newsletter, and i want to have panels that change background-color on mouse over.
Seeing as the newsletter wont have a head, I am defining all styles inline. I'm pretty sure most popular mail clients will block JS. So I was wondering if I can define a hover effect in the style attribute. Or is there any other solution to achieve this effect?
Peace
Have you checked these?
http://www.campaignmonitor.com/css/
http://www.hongkiat.com/blog/design-perfect-newsletter/
The latter article says this:
Javascript is a no-go. There is really no solution to this, some will accept :hover, some not. From that first link you can see which will and which will not.
这篇关于如何在简报中创建悬停效果?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!