Display:Flex not supported in Safari?

别等时光非礼了梦想. 提交于 2019-12-11 12:42:51

问题


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 <--for reference.

Any insight? Thanks!


回答1:


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;


来源:https://stackoverflow.com/questions/22416445/displayflex-not-supported-in-safari

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!