benjaminkott / benjaminkott/bootstrap_package

Supporting (SVG) Sprites

Open
#646 1 comment 0 reactions 0 assignees View on GitHub
feature
Dominant language
PHP
Stars
355
Forks
212
Avg merge
1h 4m
Merged PRs (30d)
31

Description

# Feature Request

**Describe the solution you'd like**
I would like to have sprites supported in Bootstrap package as its dramatically lowering the Filerequests and also speed up the pageload by a lot

**Additional context**
In every picture we should be able to select the sprite-image and also these 3 (or 5) attributes for the picture:
1. width
2. height
3. background-position
3.1 background-position-y (alternative to 3.)
3.2 background-position-x (alternative to 3.)

Then all pictures can be replaced by picture sprites.

Note: Sprites are NOT usefull for pictures!!!
Sprites are best practice for Logos/Icons ect like [HERE](https://gtmetrix.com/static/r230/images/sprite.svg) this Sprite-SVG is just 22,3 kb and covers all icons/Logos and just uses one file request. But contains 85 SVG.
So you save 84 file requests.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.