Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/filipelinhares/css-comments

CSS/SASS Comments pattern
https://github.com/filipelinhares/css-comments

Last synced: 20 days ago
JSON representation

CSS/SASS Comments pattern

Awesome Lists containing this project

README

        

![CSS Comments](images/logo.png)
> CSS/SASS Comments pattern

## CSS

### Header of a section

ch `⇥` expand to:
```css
/* # =================================================================
# My section title
# ================================================================= */
```

### Subsection

cs `⇥` expand to:
```css
/* # My subsection title
# ================================================================= */
```

### Divider

cd `⇥` expand to:
```css
/* # ========== My divider */
```

### Simple comment

c `⇥` expand to:
```css
/* # A simple declaration */
```

### Simple documentation with a detailed explanation

cdo `⇥` expand to:
```css
/*
== Tittle
-- Description
## Content
*/
```

## SASS
To the SASS are the same shotcurts but with SASS-like comments style.

## Snippets
- [atom-css-comments](https://github.com/filipelinhares/atom-css-comments)
- [sublime-css-comments](https://github.com/filipelinhares/sublime-css-comments)
- [vim-css-comments](https://github.com/filipelinhares/vim-css-comments)