How do I make a comment in CSS?

Thank you!! I’m having trouble making a comment in CSS? I know I can just google it but that’s no Fun

Hello @Frandezo!

To add a comment in CSS, you need the content to be commented out in the following marks.


If you’re looking to add a single-line comment, your comment should occupy only a single line, if it’s a multiline comment, let it span to multiple lines.

Here is a link to aid with further demonstrations.

WoW that was fast! Thank you! I will look into the link you provided.

1 Like