CSS - 新的Firefox-release不再显示Border-Image [英] CSS - New Firefox-release doesn't show Border-Image anymore

查看:186
本文介绍了CSS - 新的Firefox-release不再显示Border-Image的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Firefox更新后,边框图像不再显示?
你可能已经定义了这样的东西:

After the Firefox update the Border Image doesn't show up anymore at all? You might have defined somthing like this:

border-width:30px;
-moz-border-image: url('border.png') 64 64 64 64 stretch stretch;
   -webkit-border-image: url('border.png') 64 64 64 64 stretch stretch;
   -o-border-image: url('border.png') 64 64 64 64 stretch stretch;


推荐答案

我不得不环顾一下Firefox问题。首先我认为AdBlock可能刚刚阻止它的某种原因。这实际上是Mozilla对他们的CSS解释的一个改变。您现在必须在其下添加此属性,以使其工作:

I had to look around for a bit to realize it's a Firefox Problem. First I thought AdBlock might have just blocked it for some reason. It's actually a change Mozilla did to their CSS Interpretation. You now MUST add this property underneath it for it to work:

border-style:solid;

希望我能提供帮助。

这篇关于CSS - 新的Firefox-release不再显示Border-Image的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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