Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 4ba5f6b

Browse files
author
Shaun Wall
committed
Amending box-shadow snippet to produce on two lines and prefix to be consistent, and changing the (min/max)-(width/height) prefixes for clarity
1 parent 1dc89a1 commit 4ba5f6b

File tree

1 file changed

+20
-14
lines changed

1 file changed

+20
-14
lines changed

‎snippets/css-snippets.cson

Lines changed: 20 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,11 @@
7272
'prefix': 'bot'
7373
'body': 'bottom: ${1:0}'
7474
'box-shadow':
75-
'prefix': 'boxs'
76-
'body': 'box-shadow: ${1:0px} ${2:3px} ${3:15px} ${4:1px} ${5:rgba(0,0,0,.5)};0ドル // h-length, v-length, blur, spread, colour'
75+
'prefix': 'bs'
76+
'body': """
77+
// h-length, v-length, blur, spread, colour
78+
box-shadow: ${1:0} ${2:3px} ${3:15px} ${4:1px} ${5:rgba(0, 0, 0, .5)}0ドル
79+
"""
7780
'clear':
7881
'prefix': 'clr'
7982
'body': 'clear: ${1:both}'
@@ -216,16 +219,16 @@
216219
'prefix': 'mart'
217220
'body': 'margin-top: ${1:${2:1}${3:px}}'
218221
'min-height':
219-
'prefix': 'mh'
222+
'prefix': 'mih'
220223
'body': 'min-height: ${1:${2:1}${3:px}}'
221224
'min-width':
222-
'prefix': 'mw'
225+
'prefix': 'miw'
223226
'body': 'min-width: ${1:${2:1}${3:px}}'
224227
'max-height':
225-
'prefix': 'maxh'
228+
'prefix': 'mah'
226229
'body': 'max-height: ${1:${2:1}${3:px}}'
227230
'max-width':
228-
'prefix': 'maxw'
231+
'prefix': 'maw'
229232
'body': 'max-width: ${1:${2:1}${3:px}}'
230233
'overflow':
231234
'prefix': 'ov'
@@ -425,8 +428,11 @@
425428
'prefix': 'bot'
426429
'body': 'bottom: ${1:0};'
427430
'box-shadow':
428-
'prefix': 'boxs'
429-
'body': 'box-shadow: ${1:0px} ${2:3px} ${3:15px} ${4:1px} ${5:rgba(0,0,0,.5)};0ドル // h-length, v-length, blur, spread, colour'
431+
'prefix': 'bs'
432+
'body': """
433+
// h-length, v-length, blur, spread, colour
434+
box-shadow: ${1:0} ${2:3px} ${3:15px} ${4:1px} ${5:rgba(0, 0, 0, .5)}0ドル
435+
"""
430436
'clear':
431437
'prefix': 'clr'
432438
'body': 'clear: ${1:both};'
@@ -569,17 +575,17 @@
569575
'prefix': 'mart'
570576
'body': 'margin-top: ${1:${2:1}${3:px}};'
571577
'min-height':
572-
'prefix': 'mh'
578+
'prefix': 'mih'
573579
'body': 'min-height: ${1:${2:1}${3:px}};'
574580
'min-width':
575-
'prefix': 'mw'
581+
'prefix': 'miw'
576582
'body': 'min-width: ${1:${2:1}${3:px}};'
577583
'max-height':
578-
'prefix': 'maxh'
579-
'body': 'max-height: ${1:${2:1}${3:px}}'
584+
'prefix': 'mah'
585+
'body': 'max-height: ${1:${2:1}${3:px}};'
580586
'max-width':
581-
'prefix': 'maxw'
582-
'body': 'max-width: ${1:${2:1}${3:px}}'
587+
'prefix': 'maw'
588+
'body': 'max-width: ${1:${2:1}${3:px}};'
583589
'overflow':
584590
'prefix': 'ov'
585591
'body': 'overflow: ${1:hidden};'

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /