- From: David Håsäther <hasather@gmail.com>
- Date: Fri, 11 Jul 2008 21:27:46 +0200
- To: "Andrew Fedoniouk" <news@terrainformatica.com>
- Cc: www-style <www-style@w3.org>
* Andrew Fedoniouk @2008-07-11 20:40:
>> Yes, I know :root can only be the first element, which is why I'm
>> saying it can't be used in this case!
>
> Why? The idea of :root to be a pseudo-class imply that different
> elements may have this state/role assigned.
>
> Otherwise why not to use element html as it is?
> Write something like this and it will be perfectly fine:
>
> html > body > div { ... }
CSS can be used with other markup languages than HTML.
--
David Håsäther
Received on Friday, 11 July 2008 19:28:28 UTC