css-comments icon indicating copy to clipboard operation
css-comments copied to clipboard

Sublime CSS snippets

Sublime CSS comments

Snippets of CSS comments for Sublime Text based on Idiomatic CSS.

The only thing you have to do is type comment in your file and the comment options will show up.

Works on .scss, .sass, .less, .styl and .css files.

CSS comments demo

Snippets

Basic comment

/* ${1:comment} */

Long description comment

/*
 * ${1:comment}
 */

Section comment

/* ${1:comment} */

Sub-section comment

/* ${1:comment} */

How to use

Git

Navigate to your Sublime Text 2 snippets folder and clone the repository:

cd path\to

git clone [email protected]:raphaelfabeni/cssCommentsSnippets.git

Manually

  • Download the .zip file.
  • Unzip the files into your Sublime Text snippets folder.