How to Comment in CSS

Codes in css these codes /* */ marks as CSS comments. This allows you to enter new codes into CSS that will not be interpreted. In this case, this comment lets someone reading  in the CSS file know that that particular line to set font size later in the CSS in a more intuitive base 10 way.


body {

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


Written by Ranjeet Jha

Ranjeet Jha

Hey there! My name is Ranjeet. I’m a Web Designer & Front-end Developer. I design, code, build & promote all things HTML5, CSS3, JavaScript & jQuery. In this blog you will find solutions of day to day problems faced by you.. Enjoy Coding..

Leave a Reply

Your email address will not be published. Required fields are marked *