• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

/* Stripper */

It is easy to get carried away and make a lot of comments in CSS files, especially when I create CSS files for other developers. Next to each custom class, I usually place a comment for them describing its purpose and its allowed usage within the site and perhaps any browser support issues. I also tend to break up the file, keeping rules of similar nature near each other, separated by a CSS comment such as /* Table Styles */ or /* Form styles */. This can get lengthy, and we don’t want the site visitors to wait a second longer than they have to because of verbose CSS comments.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint