SVG Strikes Back
- 8. SVG
is an open graphics
standard, made for the
web, based on XML.
- 25. The need for resolution-independent
images is
greater than ever.
- 26. Screens in 2001
65%
800x600
30%
1024x768
http://www.nngroup.com/articles/computer-screens-getting-bigger/
- 27. Screens in 2014
http://www.html5rocks.com/en/tutorials/tooling/synchronized-cross-device-testing/
- 29. Pixel density in 2014
iOS
1x
2x
3x
Android
LDPI
HDPI
XXHDPI
MDPI
XHDPI
XXXHDPI
- 39. Good luck
with that!
https://developer.mozilla.org/en-US/docs/Web/SVG/Element
- 40. But seriously, it
can be useful to
know a little.
https://developer.mozilla.org/en-US/docs/Web/SVG/Element
- 45. Be careful with this.
Your SVG won’t have a width/
height and Internet Explorer
may not render correctly.
- 53. Icon fonts…
• Are difficult to position
• Use a single color
• Annoying to update
• Browser inconsistencies
- 54. SVG…
• Precision positioning
• Multiple colors
• Simple to update
• Better browser consistency
- 56. SVG is…
• Resolution independent
• Small in file size
• Cross-browser compatible
• Simple to use
- 57. SVG is…
• Resolution independent
• Small in file size
• Cross-browser compatible
• Simple to use
Start using it today!
- 64. Style with CSS
http://www.opera.com/docs/specs/presto25/svg/cssproperties/