Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Browser support for askerisk ( * ) wild card in CSS?

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

Consider this CSS code for example:

pre .comment * {
  color: #800;
}

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

like image 497
its_me Avatar asked Apr 03 '12 07:04

its_me


2 Answers

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

See here: http://reference.sitepoint.com/css/universalselector#compatibilitysection

like image 71
ONOZ Avatar answered Nov 11 '22 09:11

ONOZ


According to this tab, all modern browsers should understand it...

like image 25
Gatekeeper Avatar answered Nov 11 '22 08:11

Gatekeeper