SVG - CSS Style Sheet
Table of Contents
About
To style SVG element, you can use CSS stylesheet.
Articles Related
Example
- The stylesheet:
.myBeautifulCircle {
fill: #D5D8CB;
stroke: #ECDCC6;
stroke-width: 5;
}
- The circle:
<svg height="120">
<circle
cx="60"
cy="60"
r="50"
class="myBeautifulCircle"
/>
</svg>