Re: [selectors4] Requested selectors

Le 31 août 2012 à 09:02, "Belov, Charles" <Charles.Belov@sfmta.com> a écrit :

> Domain and protocol as selector, e.g.
> 
> http://sfmta.com html {
> }
> 
> https://sfmta.com html {
> }
> 
> Or just
> 
> sfmta.com html {
> }
> 
> sfmuni.com html {
> }
> 
> Although this would probably be most useful in personal style sheets.

Isn't that covered by the @document at-rule ?

e.g 
@document domain(sfmta.com) {
	html { background: lime; color: white; }
}

http://dev.w3.org/csswg/css3-conditional/#at-document

Philippe
--
Philippe Wittenbergh
http://l-c-n.com

Received on Friday, 31 August 2012 01:19:01 UTC