comment in css file code example

Example 1: comment out css inline

/* this is some commented out css
.my-field{
   font-size:10px;
   border:1px solid red;
}
*/

Example 2: css comment

/* This is a CSS comment! */
/* Remember that you have to add the end bit on comments or all your
code will turn to comments! Thease comments can go over several lines! */

Example 3: css comment tag

/* a comment in css */

Example 4: comments in css

/* This text is commented in CSS :) */

Example 5: Add a comment in css

/* Use the "/*" at the start and swap them at the end of your comment! Put your string into the argument.*/

Tags:

Html Example