浏览器支持askerisk(*)通配符在CSS? [英] Browser support for askerisk ( * ) wild card in CSS?

查看:97
本文介绍了浏览器支持askerisk(*)通配符在CSS?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

哪些浏览器能够在CSS中正确地理解和实现星号(*)? (

Which browsers are able to understand and implement asterisk ( * ) in CSS properly? (By 'properly' I actually meant -- 'as they are supposed to'.)

请考虑这个CSS代码示例:

Consider this CSS code for example:

pre .comment * {
  color: #800;
}

EDIT: '* selector'或'universal selector'。非常感谢输入。 :)

I see now that it's called the '* selector' or 'universal selector'. Thanks a lot for the input. :)

推荐答案

所有主流浏览器都支持。 Internet Explorer支持它,没有8.0的错误。

All major browsers do. Internet explorer supports it without bugs from 8.0.

请参阅:
http:// reference。 sitepoint.com/css/universalselector#compatibilitysection

这篇关于浏览器支持askerisk(*)通配符在CSS?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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