CSS 3背景大小不工作在IE9 [英] CSS 3 background-size not working on IE9
本文介绍了CSS 3背景大小不工作在IE9的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
background-image:url(yellow.jpg);
background-size:180px 180px;
background-repeat:no-repeat;
上面提到的css在chrome上是完美的,但 ie9 无法正确缩放图片+显示图片
The above mentioned css works perfect on chrome but ie9 is unable to scale images + display images correctly
推荐答案
确定您的IE以IE9模式运行吗?您的代码适用于我尝试的任何图片。
Are you sure your IE runs in IE9 mode? Your code works with any image I tried.
(F12打开开发者窗口)
(F12 to open developer window)
这篇关于CSS 3背景大小不工作在IE9的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文