This chapter will focus on the intersection between SVG and CSS. While JavaScript is the most powerful tool for working with SVG, SVG without CSS wouldn't be nearly as popular as it has become. SVG, as you've learned, is well-suited for the modern web and is often the best answer to an RWD question. Because of that, it's been wholeheartedly embraced by designers and developers for producing images for the web.
This preference for SVG is a good one for the web as a whole and should be cultivated. This chapter will hopefully illustrate why.
In this chapter, we'll learn about the following:
- Using CSS background images
- How to optimize data URIs for SVG
- SVG sprites versus icon fonts
- How the different ways of embedding SVG interact with CSS
- Using common CSS properties to manipulate SVG
- Using SVG-specific CSS properties to manipulate...