How to style svg 'g' element
I have some svg elements grouped together in a 'g' element. I just want to
style that 'g' element to show grouping of elements. Like i want to give
some background color and a border to g element. how it would be acheived.
I tried 'fill' and 'stroke' attribute to 'g' element.but it doesn't work.
How it would be possible. Thanks in advance !
Sample Here
<g fill="blue" stroke="2"></g>
No comments:
Post a Comment