https://github.com/eapo/spriteload
PHP script to load a single SVG from Sprite using GET query
https://github.com/eapo/spriteload
Last synced: about 1 month ago
JSON representation
PHP script to load a single SVG from Sprite using GET query
- Host: GitHub
- URL: https://github.com/eapo/spriteload
- Owner: eapo
- License: mit
- Created: 2023-02-05T23:11:24.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-06T00:47:27.000Z (over 3 years ago)
- Last Synced: 2025-02-27T12:52:47.983Z (over 1 year ago)
- Language: PHP
- Homepage:
- Size: 377 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SpriteLoad
PHP script to load a single SVG from [*Sprite*](https://en.wikipedia.org/wiki/Sprite_(computer_graphics)) using `GET` query
## Examples
### Default icon is set to `file-o`
```html
```

### Query can set by `?q=` at the end of the URL
```html
```

### Color can set by `&c=` using [*Hex_triplet*](https://en.wikipedia.org/wiki/Web_colors#Hex_triplet)
```diff
! Colors can set without "#"
+ default is `369369`
```
```html
```