clip-path: polygon(0% 15%, 65% 54%, 15% 0%, 85% 0%, 66% 39%, 100% 15%, 100% 85%, 16% 54%, 85% 100%, 15% 100%, 29% 75%, 0% 85%);
用法:
<style> img{ clip-path: polygon(0% 15%, 65% 54%, 15% 0%, 85% 0%, 66% 39%, 100% 15%, 100% 85%, 16% 54%, 85% 100%, 15% 100%, 29% 75%, 0% 85%); } </style> <img src=1.jpg>
发表评论