CSS Comments

You can insert comments in CSS to explain your code. Like HTML comments, CSS comments will be ignored by the browser. A CSS comment begins with "/*", and ends with "*/". Comments can appear before or within rule sets as well as across multiple lines. They can also be used to comment out entire rules or individual declarations. For example:

/* Comment here */
margin: 1em; /* Comment here */
padding: 2em;
/* color: white; */
background-color: blue;

comment here

Further information

Document Tree »

Other Max Design articles and presentations
Associated with webstandardsgroup.org