Commenting out CSS already commented out
I often make an error in my CSS by commenting out a chunk of CSS but forgetting about a comment already inside the chunk.
Some CSS following the chunk then does not run. But browsers soon recover and later CSS runs fine.
I like how browsers display a web page even when there are errors in the HTML or CSS.
Sometimes I also put JavaScript '//' comments in CSS which also confuses browsers.

Comments
Post a Comment