Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/flutter/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Css SVG剪辑路径孔/内切割_Css_Svg - Fatal编程技术网

Css SVG剪辑路径孔/内切割

Css SVG剪辑路径孔/内切割,css,svg,Css,Svg,它切割图像的外部空间。但我想在图像上切个洞。我怎样才能做到呢?出于您的目的,您可以使用面具 我需要透明孔@丹尼尔:你想透过图像上的洞看到另一个背景吗?丹尼尔换了面具。“那么这是必要的吗?”丹尼尔问了更多关于SVG的问题。我最喜欢的科目是动画。随时准备帮助 <clipPath id="clip1"> <rect x="10" y="222" height="30" width="50" rx="5" /> </clipPath> <imag

它切割图像的外部空间。但我想在图像上切个洞。我怎样才能做到呢?

出于您的目的,您可以使用面具



我需要透明孔@丹尼尔:你想透过图像上的洞看到另一个背景吗?丹尼尔换了面具。“那么这是必要的吗?”丹尼尔问了更多关于SVG的问题。我最喜欢的科目是动画。随时准备帮助
<clipPath id="clip1">
    <rect x="10" y="222" height="30" width="50" rx="5"  />
</clipPath>

<image .... clip-path="url(#clip1)"  />