CSS 是否可以将 CSS3 框阴影内联应用于 HTML 电子邮件?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/21911656/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Is it possible to apply CSS3 box shadows inline to HTML E-mails?
提问by danelig
Is it possible to apply the following box shadow to the CSS of an HTML E-mail template?
是否可以将以下框阴影应用于 HTML 电子邮件模板的 CSS?
-webkit-box-shadow: 1px 3px 62px 25px rgba(223,231,232,1);
-moz-box-shadow: 1px 3px 62px 25px rgba(223,231,232,1);
box-shadow: 1px 3px 62px 25px rgba(223,231,232,1);
Or will I need to use images of the shadow and insert them into to table?
或者我是否需要使用阴影的图像并将它们插入到表格中?
Many thanks.
非常感谢。
回答by John
It is only supported in a few email clients. You are better off using images if you want 100% support
它仅在少数电子邮件客户端中受支持。如果您想要 100% 的支持,最好使用图像