Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Commit 36f48ac

Browse files
author
Markus Falk
committed
[Task] make bower
1 parent 826e009 commit 36f48ac

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

_base64-image.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
@mixin base64-image-retina($url) {
2+
background-repeat: no-repeat;
3+
background-image: inline-image($url + '.svg');
4+
.no-svg & {
5+
background-image: image-url($url + '.png');
6+
}
7+
}

bower.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"name": "base64-image",
3+
"version": "1.0.0",
4+
"homepage": "https://github.com/markusfalk/base64-image",
5+
"authors": [
6+
"Markus Falk <[email protected]>"
7+
],
8+
"description": "scss mixin for creating svg base64 background-image width png fallback",
9+
"main": "_base64-image.scss",
10+
"keywords": [
11+
"base64",
12+
"svg",
13+
"png",
14+
"background"
15+
],
16+
"license": "MIT"
17+
}

0 commit comments

Comments
 (0)