IE 9 - Blue Gradients! [英] IE 9 - Blue Gradients!

查看:55
本文介绍了IE 9 - Blue Gradients!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我的一些IE 9用户遇到了一个奇怪的问题。



以下CSS应该是一个很好的浅灰色渐变。但在我的一些IE 9用户中,渐变是深蓝色。我还有一个绿色和橙色渐变,它的颜色与蓝色完全相同。



在同一台机器上加载Firefox或Chrome时,它工作正常。



Hi,

I'm experiencing a strange issue with just some of my IE 9 users.

The following CSS should be a nice light grey gradient. But on some of my IE 9 users the gradient is a dark blue. I also have a green and an orange gradient which is coming out in the exact same shade of blue.

When loaded in Firefox or Chrome on the same machine it works fine.

div.contentContainerForm {
  position: absolute;
  top: 80px;
  bottom: 15px;
  width: 100%;
  overflow: hidden;
  background-color: #f0f0f0;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='@from', endColorstr='#e0e0e0');
  background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f0f0f0), to(#e0e0e0));
  background-image: -webkit-linear-gradient(top, #f0f0f0, #e0e0e0);
  background-image: -moz-linear-gradient(top, #f0f0f0, #e0e0e0);
  background-image: -ms-linear-gradient(top, #f0f0f0, #e0e0e0);
  background-image: -o-linear-gradient(top, #f0f0f0, #e0e0e0);
}





有任何想法,因为这个即将上线,现在被这个愚蠢的问题所困扰吗?



谢谢,



Steve



Any thoughts please as this is about to go live and is now being held up by this silly problem?

Thanks,

Steve

推荐答案

如Pablo所述,在评论中。



它是CSS中的@from参数。



我在VS2012中使用CSSLess,由于某种原因,它正在努力填充过滤器组件风格。
As stated by Pablo, in the comments.

it was the @from parameter in the CSS.

I was using CSSLess in VS2012 and for some reason it's struggling to populate the filter component of the style.


这篇关于IE 9 - Blue Gradients!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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