如何在简报中创建悬停效果? [英] How to create a hover effect in a newsletter?

查看:113
本文介绍了如何在简报中创建悬停效果?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在创建一个通讯,我想要一个面板,鼠标改变背景颜色。

看到的通讯没有头,我定义所有的样式内联。我确定最流行的邮件客户端将阻止JS。所以我想知道是否可以在样式属性中定义悬停效果。或者有任何其他解决方案来实现这种效果吗?

和平

解决方案

/ p>

http://www.campaignmonitor.com/css/



http://www.hongkiat.com/blog / design-perfect-newsletter /



后一篇文章说:


在Outlook 2007/2010,Gmail,iOS或Android中不支持悬停效果。您仍然可以为所有支持的客户端包括a:hover样式:Outlook 2000/2003,Hotmail,Apple Mail和Yahoo! mail ...


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:

Hover effects are not supported in Outlook 2007/2010, Gmail, iOS or Android. You may still want to include the a:hover style for all supporting clients: Outlook 2000/2003, Hotmail, Apple Mail, and Yahoo! mail ...

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.

这篇关于如何在简报中创建悬停效果?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆