W3C home > Mailing lists > Public > www-style@w3.org > March 2015

Re: Domain selectors

From: Marat Tanalin <mtanalin@yandex.ru>
Date: Sun, 08 Mar 2015 00:29:42 +0300
To: Jens Oliver Meiert <jens@meiert.com>, W3C WWW Style <www-style@w3.org>
Message-Id: <6065301425763782@web20m.yandex.ru>
07.03.2015, 22:49, "Jens Oliver Meiert" <jens@meiert.com>:
> I grow fond of the utility of something like a domain (more precisely:
> hostname) selector:
>
> [host='example.com'] html { color: red }

Isn't `@document` at-rule [1] what you want?

[1] https://developer.mozilla.org/en-US/docs/Web/CSS/@document
Received on Saturday, 7 March 2015 21:30:15 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:30 UTC