Comments in CSS

Submitted by:Jhon Smith

Date added:06 August, 2011


The stuff inside the /* */ marks are CSS comments. This allows you to enter notes into CSS that will not be interpreted. In this case, this comment lets someone reading the CSS file know that that particular line of CSS was intended to allow for using ems to set font size later in the CSS in a more intuitive base 10 way.

Tags: css comment

Code Snippet:

body {
font-size: 62.5% /* 1em = 10px */