小编Br *_*ian的帖子

用完整的背景图像填充 svg 路径

我有下一个 svg :

<svg 
   xmlns="http://www.w3.org/2000/svg"
   xmlns:xlink="http://www.w3.org/1999/xlink"
   width="483px" height="255px">
   <path fill-rule="evenodd"  fill="rgb(0, 0, 0)"
   d="M-0.000,-0.001 L483.001,1.873 L266.099,254.997 L-0.000,254.997 L-0.000,-0.001 Z"/>
</svg>
Run Code Online (Sandbox Code Playgroud)

https://i.stack.imgur.com/1pdB7.png

如何插入具有位置中心和不重复属性的完整背景图像?就像这个例子一样:

https://i.stack.imgur.com/tUqbr.png

我真的很感谢您的回答,谢谢!

html css svg

5
推荐指数
1
解决办法
1万
查看次数

标签 统计

css ×1

html ×1

svg ×1