internet-explorer - 在 IE7/8 中模拟 CSS3 border-radius 和 box-shadow

标签 internet-explorer css

我正在为一个小型网络应用程序开发 HTML;该设计需要一个带有圆 Angular 和阴影的内容区域。我已经能够使用 CSS3 生成它,并且它在 Firefox 和 Chrome 上完美运行:

CSS3 Version

但是,Internet Explorer 7 和 8(不支持 CSS3)是另一回事:

Internet Explorer Version

是否有一个简单、轻量级的 JavaScript 解决方案允许我 1) 使用特定于 IE 的功能来实现此目的,或者 2) 修改 DOM(以编程方式)以在内容区域周围添加自定义图像以模拟效果?

最佳答案

查看这篇文章:http://www.smashingmagazine.com/2010/04/28/css3-solutions-for-internet-explorer/

它专门介绍了 IE7/8 中 CSS3 的圆 Angular 和框阴影。

关于internet-explorer - 在 IE7/8 中模拟 CSS3 border-radius 和 box-shadow,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2687804/

相关文章:

javascript - 如何动态更改 css 值(如整个应用程序中的颜色)等

css - css意外换行

html - css 下拉菜单行为怪异

css - internetexplorer @font-face(缓存?)

internet-explorer - cakephp 在使用 Safari 和 Internet Explorer 时丢失 session

Internet Explorer 中的 css 位置问题

javascript - 在严格模式下 IE11 不允许分配给只读属性

css - Postcss - 颜色函数插件 - "Unable to parse color from string"

javascript - Internet Explorer 8 JScript 正则表达式错误

javascript - 图像未使用 onpage_scroll 在 javascript 中加载