![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
svg
hap2yxx1
从事软件开发
展开
-
svg 例子
无标题文档 #div1{ width:400px; height:400px; background:white;} body{ background:black;} window.onload = function(){ var svgNS = 'http://www.w3.org/2000/svg'; var oParent = document.getElementById(转载 2017-08-16 14:22:50 · 217 阅读 · 0 评论 -
svg 使用例子
svg 使用例子 无标题文档 #div1{ width:780px; height:400px; background:url(img/bg.jpg) no-repeat; margin:20px auto; overflow:hidden;} body{ background:black;} //780/2 -> x : 390 //400/2 -> y : 200转载 2017-08-16 14:21:14 · 238 阅读 · 0 评论