摘要: 两个颜色渐变来回切换 <!DOCTYPE html> <html> <body> <svg xmlns="http://www.w3.org/2000/svg" version="1.1"> <ellipse id="orange-circle-6" cx="200" cy="70" rx="85" 阅读全文
posted @ 2020-03-18 16:26 1156740846 阅读(96) 评论(0) 推荐(0) 编辑
摘要: 可以用对象的 getBBox() 方法获取,也可以使用 html对象的 clientWidth属性获取 var txtLength = txt.node.clientWidth; 阅读全文
posted @ 2020-03-18 14:57 1156740846 阅读(412) 评论(0) 推荐(0) 编辑