Ahmad F
0
Q:

comments in css

/* this is some commented out css
.my-field{
   font-size:10px;
   border:1px solid red;
}
*/
11
/* a comment in css */
14
/* 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! */
19
/*comment here*/
3
/* This text is commented in CSS :) */
18
/* This is a single-line comment */
p {
  color: red;
}

p {
  color: red;  /* Set text color to red */
}
/* This is
a multi-line
comment */

p {
  color: red;
}
2

New to Communities?

Join the community