Skip to content

Instantly share code, notes, and snippets.

View Deifinger's full-sized avatar

Ruslan Kostikov Deifinger

View GitHub Profile
@Deifinger
Deifinger / functions.scss
Last active March 19, 2017 15:15
scss functions
/*
* Makes list of transitions in one property
*
* Example:
* transition: transitions((0: color, 1: opacity )); // returns transition:color .3s ease-in 0,opacity .3s ease-in 0
*/
@function transitions($properties: (0: all), $durations: (0: .3s), $timing-functions: (0: ease-in), $delays: (0: 0s)) {
$props: ((
'def': .3s,
'list': $durations
@Deifinger
Deifinger / .csscomb.json
Last active February 6, 2017 15:12
base project config
{
"always-semicolon": true,
"color-case": "lower",
"block-indent": "\t",
"color-shorthand": true,
"element-case": "lower",
"eof-newline": true,
"leading-zero": false,
"quotes": "double",
"sort-order-fallback": "abc",