Re: Targeting CSS3 only (evil?), either with pseudoclass or an extra syntax for properties.

On Monday 04 April 2005 01:02, Emrah BASKAYA wrote:
> .sidenote {
> border: 2px dotted red;
> padding: 5px; /* no need for a large padding */
> border-radius: 15px; /* old agents do not undestand anything, so no
> problem here */
> }
>
> .sidenote:css3 {
> padding: 15px 5px; /* So contents start below the rounded circle border */
> }
>
> or it could be "padding-css3: 15px" without needing a pseudo class. Css3
> browsers would be encouraged to remove the last occurence of -css3 and
> this could be for all the styling properties.
>

I think it would degrade better if we had an all or nothing block, where all 
the properties would need to be supported for any of them to be applied.

.sidenote {
  padding: 5px; 
  { border-radius: 15px; padding: 15px 5px; }
}

`Allan

Received on Monday, 4 April 2005 08:43:34 UTC