Pages

Comments Within CSS

Monday, 5 November 2012


Add /* and */ anywhere in the styles to show the start and end of a comment. Comments can explain and organize code to help with reviewing at a later time.
/* This is a comment */
a {
 text-decoration: underline;
}
/* This is also a comment */
h1, h2 {
 font-size: 120%;
 color: #ffffff;
}

No comments:

Post a Comment

 

Labels

Blogger news

Blogroll

Most Reading

Tags