You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sprite Smith loader is a tool for automatically generating CSS Sprites. You can use it in webpack. It will automatically generate CSS Sprites and modify the corresponding CSS code.
9
+
Sprite Smith loader is a tool for automatically generating CSS Sprites. You can use it in webpack. It will find all the_ sprite.png End picture and auto generate CSS Sprites and modify the corresponding CSS code.
10
10
11
11
supports **CSS**、**SASS**、**LESS**.
12
+
13
+
The picture should be in PNG format (do not directly change the picture suffix to PNG)
12
14
## Getting Started
13
15
To begin, you'll need to install sprite-smith-loader:
14
16
@@ -40,7 +42,7 @@ module.exports = {
40
42
},
41
43
};
42
44
```
43
-
with SaSS
45
+
with SASS
44
46
45
47
```
46
48
module.exports = {
@@ -64,7 +66,7 @@ module.exports = {
64
66
```
65
67
66
68
## Usage
67
-
Modify your CSS/SCSS/SASS/LESS file
69
+
Change the picture name to_ sprite.png End and reference it in CSS
0 commit comments