【发布时间】:2015-08-10 04:07:52
【问题描述】:
我尝试在 Firefox 中使用 flex,但它不起作用,在 Chrome 中,它就像一个魅力!
这是 Firefox 中的结果:
这是它在 Chrome/Opera 中的外观(应该看起来):
有什么问题?
这是在 Firefox 上不起作用的 CSS:
.jawcontain {display: flex;flex-direction: column;justify-content: space-between;border: white solid 7px;border-radius: 23px;}
.jaw {background-color: rgb(24, 24, 24);border-radius: 5%;display: flex;flex-direction: row;padding-top: 2%;padding-bottom: 5%;border: 10px solid rgb(0, 151, 255);justify-content: space-around;}
.hala {border: white solid 2px;padding-left: 10%;border-radius: 5%;margin-right: 2% display: flex;flex-basis: 40%;flex-direction: column;background: black;justify-content: space-around;}
【问题讨论】:
-
请在此处添加有意义的代码和问题描述。不要只链接到需要修复的站点 - 否则,一旦问题得到解决,这个问题将对未来的访问者失去任何价值。发布 Short, Self Contained, Correct Example (SSCCE) 来证明您的问题将帮助您获得更好的答案。有关详细信息,请参阅 Something on my web site doesn't work. Can I just paste a link to it? 谢谢!
-
谢谢,我已经添加了导致问题的 CSS
-
@Abdelouahab CSS 是不够的。我们需要最短的代码来重现问题。
-
@Oriol 对不起,因为代码是从服务器端生成的,这里是结果meteo-algeria.rhcloud.com