Commenting
Understand how to use CSS comments effectively to annotate code, hide sections from browsers, and structure stylesheets for easier navigation and maintenance.
We'll cover the following...
We'll cover the following...
CSS comments
A CSS comment is typically used to add additional notes to our code. These comments aren’t read by the browser. We can also use comments to hide or “comment out” a section of code. This prevents the browser from running it as a part of the program.
The syntax
A comment looks like this:
/* This is a comment */
...