Skip to content

Instantly share code, notes, and snippets.

@mikefreiman
mikefreiman / SassMeister-input.scss
Created December 28, 2015 20:39
Generated by SassMeister.com.
// ----
// libsass (v3.3.2)
// ----
@mixin prefix($property, $value, $vendors: (webkit moz ms o)) {
@each $vendor in $vendors {
#{'-' + $vendor + '-' + $property}: $value;
}
#{$property}: $value;
}
@mikefreiman
mikefreiman / SassMeister-input.scss
Created December 29, 2015 15:55
Generated by SassMeister.com.
// ----
// libsass (v3.3.2)
// ----
@mixin prefix($property, $value, $vendors: (webkit moz ms o)) {
@each $vendor in $vendors {
#{'-' + $vendor + '-' + $property}: $value;
}
#{$property}: $value;
}
@mikefreiman
mikefreiman / code-snippets.cson
Last active February 11, 2016 20:18
ATOM Code Snippets
# MY CUSTOM SNIPPETS
'.text.html':
'Form Include':
'prefix': 'infor'
'body': '{% include tds-form-field.html label=$1 form-id=$2 %}$0'
'Button Include':
'prefix': 'inbtn'
'body': '{% include tds-button.html size=$1 cta=$2 color=$3 type=$4 %}$0'
<script type='text/javascript'>
//<![CDATA[
Your JavaScript coding here
//]]>
</script>
@mikefreiman
mikefreiman / gulpfile.js
Created June 11, 2020 11:38 — forked from LoyEgor/gulpfile.js
best image compression settings (gulp-imagemin)
// install
// npm i gulp-cache gulp-imagemin imagemin-pngquant imagemin-zopfli imagemin-mozjpeg imagemin-giflossy -f
// node node_modules/jpegtran-bin/lib/install.js
// node node_modules/gifsicle/lib/install.js
// node node_modules/zopflipng-bin/lib/install.js
// node node_modules/mozjpeg/lib/install.js
// node node_modules/giflossy/lib/install.js
// node node_modules/pngquant-bin/lib/install.js