Sha256: fb01e9e82bbc4d78a09d54a80d1f4b045092d3552b5381d02dec6a4a88bc38ad
Contents?: true
Size: 855 Bytes
Versions: 315
Compression:
Stored size: 855 Bytes
Contents
@mixin retina-image($filename, $background-size, $extension: png, $retina-filename: null, $retina-suffix: _2x, $asset-pipeline: $asset-pipeline) { @if $asset-pipeline { background-image: image-url("#{$filename}.#{$extension}"); } @else { background-image: url("#{$filename}.#{$extension}"); } @include hidpi { @if $asset-pipeline { @if $retina-filename { background-image: image-url("#{$retina-filename}.#{$extension}"); } @else { background-image: image-url("#{$filename}#{$retina-suffix}.#{$extension}"); } } @else { @if $retina-filename { background-image: url("#{$retina-filename}.#{$extension}"); } @else { background-image: url("#{$filename}#{$retina-suffix}.#{$extension}"); } } background-size: $background-size; } }
Version data entries
315 entries across 312 versions & 7 rubygems