fazlurr
2/26/2014 - 4:49 PM

Snippets for CSS pseudo-elements.

Snippets for CSS pseudo-elements.

{
	"snippets": {
		"css": {
			"snippets": {
				";bef": ":before {$1}",
				";aft": ":after {$1}",
				";fch": ":first-child {$1}",
				";lch": ":last-child {$1}",
				";och": ":only-child {$1}",
				";oot": ":only-of-type {$1}",
				";fot": ":first-of-type {$1}",
				";nch": ":nth-child($1) {$2}",
				";nlc": ":nth-last-child($1) {$2}",
				";not": ":nth-of-type($1) {$2}",
				";nlt": ":nth-last-of-type($1) {$2}"
			}
		}
	}
}