mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-12-12 08:24:18 +00:00
Last commit before tagging and releasing
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: !
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: !important CSS
|
||||
# binding: ""
|
||||
# --
|
||||
${1:!important}
|
||||
@@ -0,0 +1,6 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: clear
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: clear: value
|
||||
# --
|
||||
clear: ${1:left/right/both/none};$0
|
||||
@@ -0,0 +1,6 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: direction
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: direction: ltr/rtl
|
||||
# --
|
||||
direction: ${1:ltr|rtl};$0
|
||||
@@ -0,0 +1,6 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: float
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: float: left/right/none
|
||||
# --
|
||||
float: ${1:left/right/none};$0
|
||||
@@ -0,0 +1,6 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: letter
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: letter-spacing: em
|
||||
# --
|
||||
letter-spacing: $1em;$0
|
||||
@@ -0,0 +1,6 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: letter
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: letter-spacing: px
|
||||
# --
|
||||
letter-spacing: $1px;$0
|
||||
@@ -0,0 +1,6 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: marker
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: marker-offset: auto
|
||||
# --
|
||||
marker-offset: auto;$0
|
||||
@@ -0,0 +1,6 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: marker
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: marker-offset: length
|
||||
# --
|
||||
marker-offset: ${1:10px};$0
|
||||
@@ -0,0 +1,8 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: opacity
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: opacity: [for Safari, FF & IE]
|
||||
# --
|
||||
opacity: ${1:0.5};${100:
|
||||
}-moz-opacity: ${1:0.5};${100:
|
||||
}filter:alpha(opacity=${2:${1/(1?)0?\.(.*)/$1$2/}${1/^\d*\.\d\d+$|^\d*$|(^\d\.\d$)/(?1:0)/}});$0
|
||||
@@ -0,0 +1,6 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: overflow
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: overflow: type
|
||||
# --
|
||||
overflow: ${1:visible/hidden/scroll/auto};$0
|
||||
@@ -0,0 +1,6 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: position
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: position: type
|
||||
# --
|
||||
position: ${1:static/relative/absolute/fixed};$0
|
||||
10
extras/imported/css-mode/Other/selection.yasnippet
Normal file
10
extras/imported/css-mode/Other/selection.yasnippet
Normal file
@@ -0,0 +1,10 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: selection
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: selection
|
||||
# --
|
||||
$1::-moz-selection,
|
||||
$1::selection {
|
||||
color: ${2:inherit};
|
||||
background: ${3:inherit};
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: vertical
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: vertical-align: type
|
||||
# --
|
||||
vertical-align: ${1:baseline/sub/super/top/text-top/middle/bottom/text-bottom/length/%};$0
|
||||
@@ -0,0 +1,6 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: visibility
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: visibility: type
|
||||
# --
|
||||
visibility: ${1:visible/hidden/collapse};$0
|
||||
@@ -0,0 +1,6 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: white
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: white-space: normal/pre/nowrap
|
||||
# --
|
||||
white-space: ${1:normal/pre/nowrap};$0
|
||||
@@ -0,0 +1,6 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: word
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: word-spacing: length
|
||||
# --
|
||||
word-spacing: ${1:10px};$0
|
||||
@@ -0,0 +1,6 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: word
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: word-spacing: normal
|
||||
# --
|
||||
word-spacing: normal;$0
|
||||
@@ -0,0 +1,6 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: z
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: z-index: index
|
||||
# --
|
||||
z-index: $1;$0
|
||||
Reference in New Issue
Block a user