如何解决如何获得这样的剪辑路径
我一直在寻找一个剪切路径生成器来获取一个剪切路径,如下图所示,但是我找不到任何有用的东西。有什么工具可以做到这一点吗?我使用(https://bennettfeely.com/clippy/),但在我的情况下不起作用。 Here is the image
解决方法
main{
background-color:silver;
width: 400px;
}
.clip{
background-color: #5dafe8;
padding: 50px;
width: 300px;
margin: 0 auto;
height: 300px;
clip-path: polygon(0% 100%,100% 100%,100% 0,85% 7%,74% 11%,58% 15%,46% 17%,35% 18%,19% 19%,8% 19%,0 18%,0 33%);
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
}
.child {
padding: 10px;
width: 50px;
background-color: #d2f2f9;
height: 50px;
}
.clip > .child {
margin: 10px 10px 10px 0;
}
<main>
<div class="clip">
<span class="child"></span>
<span class="child"></span>
<span class="child"></span>
<span class="child"></span>
</div>
</main>
在剪切路径中试用这些路径,并获得更多帮助,请访问responsive clip path
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。