This file contains 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.13) | |
// Compass (v1.0.3) | |
// ---- | |
$images-base-path: 'test/'; | |
@mixin retinaBg($path) { | |
background-image: url($images-base-path + $path +'.png'); |
This file contains 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.13) | |
// Compass (v1.0.3) | |
// ---- | |
$images-base-path: 'test/'; | |
@mixin retinaBg($path, $width, $height, $type:'png') { | |
background-image: url($images-base-path + $path + '.' + $type); |
This file contains 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.3.14) | |
// Compass (v1.0.1) | |
// ---- | |
$icon-names: ( | |
user : '\e972', | |
camera : '\e603', | |
heart : '\e601', | |
bubble : '\e96d', |
This file contains 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
html { | |
font-size: 62.5%; /* sets the base font to 10px for easier math */ | |
-webkit-text-size-adjust: 100%; | |
-ms-text-size-adjust: 100%; | |
-moz-osx-font-smoothing: grayscale; | |
-webkit-font-smoothing: antialiased; | |
} | |
body { |
This file contains 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
/** | |
Create spacer function | |
.foo { | |
padding: spacer(1); | |
margin: spacer(1.5) 0; | |
} | |
compiles to: |
This file contains 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
background: linear-gradient(214deg, #18d5a4, #d55418, #6c55ec, #ece955, #ec55e0); | |
background-size: 1000% 1000%; | |
-webkit-animation: AnimationName 60s ease infinite; | |
-moz-animation: AnimationName 60s ease infinite; | |
-o-animation: AnimationName 60s ease infinite; | |
animation: AnimationName 60s ease infinite; | |
@-webkit-keyframes AnimationName { | |
0%{background-position:52% 0%} | |
50%{background-position:49% 100%} | |
100%{background-position:52% 0%} |
This file contains 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
jQuery.svgBaseFix = function() { | |
if ($("base").length) { | |
var Url = window.location.href; | |