An open API service indexing awesome lists of open source software.

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

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

```