Skip to content

Instantly share code, notes, and snippets.

@jasonmelgoza
Created August 22, 2012 19:22
Show Gist options
  • Save jasonmelgoza/3428547 to your computer and use it in GitHub Desktop.
Save jasonmelgoza/3428547 to your computer and use it in GitHub Desktop.
General CSS and SCSS Comment formatting
# Normal CSS
/*
Filename
Description of the file and it's contents (sometimes followed by a table of contents)
*/
/* Section heading
-------------------------------------------------- */
/* Sub heading
------------------------- */
/* Short "why" messages */
.wrapper {
width: 800px;
margin: 0 auto; /* inline note */
}
# Less and Sass
// Filename
// Description of the file and it's contents (sometimes followed by a table of contents)
// Section Heading
// --------------------------------------------------
// Sub heading
// -------------------------
// Short "why" messages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment