svg嵌套svg
Groups - the <g>
tag in SVG - are somewhat akin to <div>
elements on web pages, in that they contain and control related SVG elements. However, there are some very distinct differences between <g>
and <div>
elements are important to understand:
集团- <g>
在标签SVG -有点类似于<div>
元素在网页上,因为它们包含与控制相关的SVG元素 。 但是, <g>
和<div>
元素之间有一些非常明显的区别,需要理解:
Just like
<div>
elements,<g>
elements allow their children to inherit pr