1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
<?xml version="1.0" ?> <svg width="300" height="100" xmlns="http://www.w3.org/2000/svg"> <style type="text/css"> #element, .extra { fill: #8f8; } </style> <rect x="0" y="0" width="100" height="100" style="fill: #8f8;" /> <rect x="100" y="0" width="100" height="100" id="element" /> <rect x="200" y="0" width="100" height="100" class="extra" /> </svg>