This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// Sass (v3.4.4) | |
// Compass (v1.0.1) | |
// ---- | |
@mixin icon ($name, $code) { | |
$slash: "//"; | |
.#{$name}:before { | |
content: "#{str-slice($slash, 1, 1)}#{$code}"; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// Sass (v3.4.4) | |
// Compass (v1.0.1) | |
// ---- | |
@mixin icon ($name, $code) { | |
$withslash: "\"\\#{$code}\""; | |
.#{$name}:before { | |
content: unquote($withslash); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// Sass (v3.4.4) | |
// Compass (v1.0.1) | |
// ---- | |
@function char-from-code($iso-char) { | |
$escapeworkaround: "\"\\#{$iso-char}\""; | |
@return unquote($escapeworkaround); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// Sass (v3.4.4) | |
// Compass (v1.0.1) | |
// ---- | |
@function char-from-code($iso-char) { | |
@return unquote('\"\\#{$iso-char}\"'); | |
} | |
.test { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// Sass (v3.4.7) | |
// Compass (v1.0.1) | |
// ---- | |
@import "compass"; | |
#home-positions { | |
transform: translateX(#{200 * sin(45deg)}px); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fetch: function fetch(options) { | |
// populate serverTime with the date response header | |
options = options || {}; | |
options.method = 'HEAD'; | |
options.success = function (model, response, options){ | |
model.set({ | |
serverTime: options.xhr.getResponseHeader('Date') | |
}); | |
}; | |
Backbone.Model.prototype.fetch.call(this, options); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://codepen.io/anon/pen/MbVmYe // basic less flex box implementation | |
https://codepen.io/anon/pen/VEXNqw // v1 of text and image areas (all bleed options) | |
https://codepen.io/anon/pen/KGepQe // v2 of text and image areas (prescribed bleed options) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
R.compose( | |
R.join(''), | |
R.flatten | |
)([1, 2, [3, 4], 5, [6, [7, 8, [9, [10, 11], 12]]]]); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Argument-converted Sass Functions | |
@function fpAppend($item, $list) { | |
@return append($list, $item); | |
} | |
@function fpJoin($list2, $list1) { | |
@return join($list1, $list2); | |
} | |
@function fpNth($list, $item) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://jsfiddle.net/8t7ebhtm/4/ |
OlderNewer