Display:Flex在Safari中不支持? [英] Display:Flex not supported in Safari?

查看:400
本文介绍了Display:Flex在Safari中不支持?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

此站点上的下拉菜单在悬停时触发,然后在激活时通过使用"display:flex;"水平显示.在CSS中.虽然不知道如何使它与Safari一起使用.它可以在Chrome浏览器中使用,但不能在Safari中使用.

The drop down menus on this site fire off on hover, and then when active, they appear horizontally by using 'display: flex;' in CSS. Can't figure out how to get this to work with Safari though. It works in Chrome, but not Safari.

www.soakandswim.com/wp/pools<-供参考.

www.soakandswim.com/wp/pools <--for reference.

有见识吗?谢谢!

推荐答案

某些浏览器不完全支持所有CSS3元素.试试这个:

Some browsers do not fully support all the CSS3 elements. Try this:

display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;

这篇关于Display:Flex在Safari中不支持?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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