IE 8 的 CSS 阴影插入
我一直在阅读和尝试使用条件 css 来显示 IE 8 的以下 css。
box-shadow: 0 1px 1px inset, 0 0 40px rgba(0, 0, 0, 0.5) inset, 0 16px 0 rgba(255, 255, 255, 0.4) inset, 0 4px 5px rgba(0, 0, 0, 0.6);
我一直在摆弄渐变和偏移量,但我无法找到有关 inset 的任何内容,而无需创建其他元素。
可以使用 3 个插图并使用 rgba,因为使用 ie 的渐变开始和结束是标准渐变。如果没有,我会很乐意使用基本样式并放弃 css3 样式,谢谢
i've been reading and experimenting with conditional css to display the following css for IE 8.
box-shadow: 0 1px 1px inset, 0 0 40px rgba(0, 0, 0, 0.5) inset, 0 16px 0 rgba(255, 255, 255, 0.4) inset, 0 4px 5px rgba(0, 0, 0, 0.6);
I have been fiddling with gradient and offset but i can not find anything about inset without having to create additional elements.
is is possible to 3 insets and use rgba, as using the gradient start and end for ie was a standard gradient. If not i will happily use basic styling and drop the css3 styling, thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不,不支持; http://dimox.net/cross-browser-css3-box-shadow/...但是,考虑一下您的分析数据,看看有多少访问者真正使用 ie8,也许这只是一小部分,而且也不是那么严重;)
Nope, it is not supported; http://dimox.net/cross-browser-css3-box-shadow/... However, take in consideration your analytics data and see how many visitors are really using ie8, maybe it's only a small percentage, and it's not that much of a mis;)