Skip to content

Commit 8e943bc

Browse files
committed
add: css comments snippets
1 parent 94d629e commit 8e943bc

File tree

5 files changed

+65
-0
lines changed

5 files changed

+65
-0
lines changed

comment/css/README.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# CSS Comments Snippets
2+
3+
### [cc-basic] basic
4+
5+
```css
6+
/* ${1:Basic comment} */
7+
```
8+
9+
### [cc-block] block
10+
11+
```css
12+
/**
13+
* ${1:Block comment}
14+
*
15+
*/
16+
```
17+
18+
### [cc-section] section
19+
20+
```css
21+
/* ==========================================================================
22+
${1:Section}
23+
========================================================================== */
24+
```
25+
26+
### [cc-sub-section] sub-section
27+
28+
```css
29+
/* ${1:Sub-section}
30+
========================================================================== */
31+
```
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<snippet>
2+
<content><![CDATA[
3+
/* ${1:Basic comment} */
4+
]]></content>
5+
<tabTrigger>cc-basic</tabTrigger>
6+
<description>Basic Comment</description>
7+
</snippet>
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<snippet>
2+
<content><![CDATA[
3+
/**
4+
* ${1:Block comment}
5+
*
6+
*/
7+
]]></content>
8+
<tabTrigger>cc-block</tabTrigger>
9+
<description>Block Comment</description>
10+
</snippet>
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<snippet>
2+
<content><![CDATA[
3+
/* ==========================================================================
4+
${1:Section}
5+
========================================================================== */
6+
]]></content>
7+
<tabTrigger>cc-section</tabTrigger>
8+
<description>Section Comment</description>
9+
</snippet>
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<snippet>
2+
<content><![CDATA[
3+
/* ${1:Sub-section}
4+
========================================================================== */
5+
]]></content>
6+
<tabTrigger>cc-sub-section</tabTrigger>
7+
<description>Sub-section Comment</description>
8+
</snippet>

0 commit comments

Comments
 (0)