Property + Whitespace + Empty Comment

Test of Filter

This text will be green if the rule has been applied.

Code Syntax


#testElement {
   color /**/: #00cc00;
   }
         

Browser Support / Behaviour

Applied By

Not Applied By

Unknown

Special Notes

Putting whitespace in the comment will have the same effect.

This hack is used in some of the Alternate Box Model Hacks.

More information