Add html and scss snippets
parent
fa8e4da157
commit
adc2013f93
@ -0,0 +1,20 @@
|
|||||||
|
snippet doctype "html5 doctype" !
|
||||||
|
<!DOCTYPE html>
|
||||||
|
endsnippet
|
||||||
|
snippet head "head tag based html5 boilerplate" !
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
<title></title>
|
||||||
|
<meta name="description" content="">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<link rel="stylesheet" href="path/to/css/file.css">
|
||||||
|
</head>
|
||||||
|
endsnippet
|
||||||
|
snippet script "script tag" !
|
||||||
|
<script>
|
||||||
|
</script>
|
||||||
|
endsnippet
|
||||||
|
snippet scriptsrc "script src" !
|
||||||
|
<script src="${1}"></script>
|
||||||
|
endsnippet
|
@ -0,0 +1,8 @@
|
|||||||
|
snippet mixin "mixin definition"
|
||||||
|
@mixin ${1:name}(${2:$vars}) {
|
||||||
|
${3:@content}
|
||||||
|
}
|
||||||
|
endsnippet
|
||||||
|
snippet inc "call a mixin"
|
||||||
|
@include ${1:mixin-name}${2:($variables)}
|
||||||
|
endsnippet
|
Loading…
Reference in New Issue