效果预览
https://codepen.io/strugglingBoy/pen/jeGJxZ
代码下载
https://github.com/enstrongbill/daily-frontend-exercise/tree/master/028-abstract-flower
代码解读
每个花朵由6个6边形组成,每个6边形由6个折角形成
每一圈的结构,use相当于是复制元素的意思(用xlink:href来指定复制的元素)
<use xlink:href="#c1" />
<use xlink:href="#c1