什么浏览器支持CSS #parent> .direct-child表示法? (无jQuery) [英] What browsers support CSS #parent > .direct-child notation? (no jQuery)

查看:149
本文介绍了什么浏览器支持CSS #parent> .direct-child表示法? (无jQuery)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

据我所知,>(#test> div )表示 div #test 的直接子项。

As far as I know, the > (#test>div) means that the div is required to be a direct child of #test.

其中空格( #test div )意味着它可以是后代/祖先关系。因此 #test p div 将受到 #test div

Where a space (#test div) means that it can be a descendant/ancestor relationship. So #test p div would be affected by simply a reference to #test div

哪些浏览器支持第一个提到的选项?

What browsers support the first one mentioned?

推荐答案

href =http://www.quirksmode.org/css/contents.html =nofollow> http://www.quirksmode.org/css/contents.html
为您的问题的支持浏览器如下:

You can find information for all selectors at http://www.quirksmode.org/css/contents.html For your questions the supported browsers are the following:

IE 7,IE8,IE9 pr3,FF 3.0,FF 3.5,FF 3.6,FF 4b1,Saf 4.0 Win,Saf 5.0 Win ,Chrome 4,Chrome 5,Opera 10.10,Opera 10.53和Opera 10.60

IE 7, IE8, IE9 pr3, FF 3.0, FF 3.5, FF 3.6, FF 4b1, Saf 4.0 Win, Saf 5.0 Win, Chrome 4, Chrome 5, Opera 10.10, Opera 10.53 and Opera 10.60

修改:自2015年以来,这样的问题我可以使用吗?网站。例如,您可以找到子选择器的更多信息。

Since it's 2015 I would suggest to have as reference for such questions the can I use? website. For example you can find more info for child selector.

这篇关于什么浏览器支持CSS #parent> .direct-child表示法? (无jQuery)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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