CSS Master

(Primo) #1
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0
➥ 200 200" enable-background="new 0 0 200 200">
<circle cx="101.3" cy="96.8" r="79.6"/>
</svg>

Figure 8.1. A circle in SVG

Let'sgiveourcircleapinkfillusingCSSandthestyleattribute,theresultofwhich
canbeseeninFigure8.2:


Using CSS with SVG 307

Free download pdf