Tatiana Korosteleva, Booking.com
Booking.com
You can create SVG in every editor
<svg><line ... /></svg>
<svg aria-labelledby="imgTitle imgDesc" role="img" ><title id="imgTitle" >Tea cup</title><desc id="imgDesc" >It is hot tea cup</desc>...</svg>
You can search, copy, select SVG's text
<svg...><style>@import url(../common/index.css);@import url(page.css);</style>...</svg>
.hidden-sm, .hidden-md { transition: all 1s }@media (max-width: 380px) {.hidden-sm { opacity: 1 }.hidden-md { opacity: 0 }}
::before and ::after pseudo elements;
Image
<div><img src="apple.svg" alt="Apple" /></div>
Inline svg
<div><svg ... ><line .... /></svg></div>
Embed, object, iframe
<div><iframe src="apple.svg" ... > </iframe></div>
SVG sprites
<svg><defs><symbol id="pinapple"><line .../></symbol><symbol id="grape"><line .../></symbol><symbol id="orange"><line .../></symbol></defs></svg>
SVG sprites
<div><svg><use xlink:href="fruits.svg#pinapple" /></svg></div>
In CSS as background-image
data:image/svg+xml, data-url
.element {background: url(apple.svg);}
You can save up to 90%
See the Pen Flashlight by yoksel (@yoksel) on CodePen.
See the Pen SVG Glitch by Dirk Weber (@DirkWeber) on CodePen.
See the Pen SVG Sprite Animation by Mark Nelson (@marknelson) on CodePen.
See the Pen SVG Path Animation by Poorva Janbandhu (@poorvanj) on CodePen.
See the Pen SVG CSS3 Menu / Burger Button by Kyle Henwood (@kyleHenwood) on CodePen.
See the Pen SVG Animated Drum Kit (Play Me!) 🥁 by Josh (@iamjoshellis) on CodePen.
See the Pen X-ray me (SVG Experiment) by Noel Delgado (@noeldelgado) on CodePen.
See the Pen When you're an introvert... by Sarah Drasner (@sdras) on CodePen.