Font ASCII |
Font PUA |
Font Ligatures |
---|---|---|
P R
|
|
pig rabbit
|
These implementations can not be altered via JS or CSS since the svg dom is not available in the document dom. All use the <img/> tag.
SVG as Image |
SVG Image SpritesheetReferenced by viewBox |
SVG Image SpritesheetReferenced by name |
SVG Image StackStack based on groups |
SVG Image Symbol StackStack based on symbols |
---|---|---|---|---|
CSS as File Url |
CSS as File UrlSpritesheet referenced by viewBox |
CSS as File UrlSpritesheet referenced by name |
CSS as File UrlStack based on groups |
CSS as File UrlStack based on symbols |
---|---|---|---|---|
CSS as Data URI |
CSS as Data URISpritesheet referenced by viewBox |
CSS as Data URISpritesheet referenced by name |
CSS as Data URIStack based on groups |
CSS as Data URIStack based on symbols |
These implementations can be altered via JS or CSS. Except the inline version, all versions use the shadow dom, which has limited modification possibilities
SVG Inline |
SVG Internal Xlink |
SVG External XlinkSpritesheet referenced by viewBox |
SVG External XlinkSpritesheet referenced by name |
SVG External XlinkStack based on groups |
SVG External XlinkStack based on symbols |
---|---|---|---|---|---|
These icons are made responsive simply by using width: 100%; height: auto;
. This might fail in several browsers.
SVG as img tag |
SVG Inline |
SVG Internal Xlink |
SVG External XlinkStack based on groups |
SVG External XlinkStack based on symbols |
---|---|---|---|---|
|
|
|
|
|
Since some browsers display svg's always with 150px height, we may use the padding hack to fix this.
SVG as img tag |
SVG Inline |
SVG Internal Xlink |
SVG External XlinkStack based on groups |
SVG External XlinkStack based on symbols |
---|---|---|---|---|
|
|
|
|
|