Webkit错误在display:table-cell和inline-block之间切换,当使用媒体查询触发时 [英] Webkit bug toggling between display:table-cell and inline-block when triggered with media query

查看:111
本文介绍了Webkit错误在display:table-cell和inline-block之间切换,当使用媒体查询触发时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

http://jsfiddle.net/YHJrV/2/

任何CSS专家都能知道为什么webkit在显示:table-cell和内联块之间切换的问题,当用媒体查询触发时?

Can any CSS gurus figure out why webkit has issues toggling between display:table-cell and inline block when triggered with a media query?

在webkit中,向左/向右拖动垂直分隔符以触发媒体查询,并观察列表行为是否为goofy。

In webkit, drag the vertical divider left/right to trigger the media query and watch the list behavior act goofy.

这是一个错误吗? TIA

Is this a bug? TIA

推荐答案

希望这有助于某人,但由于非常慷慨的@snookca,解决方案是应用 display:table-row 到UL。 Bada-bing!

Hopefully this helps someone, but thanks to the ever so generous @snookca, the solution was to apply display:table-row to the UL. Bada-bing!

这篇关于Webkit错误在display:table-cell和inline-block之间切换,当使用媒体查询触发时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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