Re: CSS and structure

>>selector* {
>>  @block {
>>      rule-that-only-applies-to-block-elements: value;
>>      rule-that-only-applies-to-block-elements: value;
>>   }
>>   rule-that-applies-to-any-element: value;
>>}
>
>   You cannot select an element based on a value of a CSS property, so this 
>would not work.
>
>What would happen with this?
>@block { display: inline; }

well given that the display property has been rolled into a @ block, the 
following would be ignored. Pretty simple actually. Display would no longer 
be a rule, but rather be an @ rule.

Orion Adrian

Received on Tuesday, 29 June 2004 09:50:39 UTC