html - 请问 在 css 中 expression 叫什么?我想系统学习一下.
高洛峰
高洛峰 2017-04-17 11:38:41
0
3
531
<span style="font-size: 16px;" data-find="_1">#mian img{
 max-width:170px;
 width:170px;
 width:expression(document.body.clientWidth>170?"170px":"auto");
 max-height:180px;
 height:180px;
 height:expression(document.body.clientWidth>180?"180px":"auto");
 overflow:hidden;
}
</span>

这里面普通的css我能看懂,
请问这个 expression 语法 是出自什么?
document.body.clientWidth 应该是js ,那么 expression 后面能跟jQuery 吗?

我想系统的学习一下..

就比如我问大家width:10px是什么代码? 
大家回答 css 就行了..

问 SELECT * FROM 是什么语法?
大家回答 SQL 语句就行了..
高洛峰
高洛峰

拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...

reply all(3)
巴扎黑

This can only be recognized by IE and is of little use

迷茫

As the name suggests, css expression. It’s better not to learn this thing, it’s said in Yahoo’s military regulations Avoid CSS Expressions

Peter_Zhu

It’s only available in IE, don’t learn it, you will be eliminated soon. If you have this energy, you might as well think more about how to build a good relationship with your leaders.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template