有针对IE8的calc()的仅CSS回退 [英] Is there a CSS-only fallback for calc() for IE8

查看:783
本文介绍了有针对IE8的calc()的仅CSS回退的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道有一个 calc()的CSS回退 for IE6-7 。同样,我知道有一个jQuery替代品

但是,对于 calc()为IE8有一个只有CSS的后备吗?如果是这样,是什么?

解决方案

IE 8之上没有支持动态属性


在IE8标准模式及更高版本中,Internet Explorer 8和更高版本不再支持动态属性(也称为CSS表达式)。


资料来源:阅读此


I know there is a CSS fallback for calc() for IE6-7. Likewise, I know there is a jQuery alternative.

However, is there a CSS-only fallback for calc() for IE8? If so, what is it?

解决方案

There is no support dynamic properties above IE 8

Dynamic properties (also called "CSS expressions") are no longer supported in Internet Explorer 8 and later, in IE8 Standards mode and higher.

Source: Read this

这篇关于有针对IE8的calc()的仅CSS回退的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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