3
I would like to add a zig-zag edge transparent for images on my website.
In this image I made a mere demo in Photoshop:
Note: the pink border of the image I want it to be transparent.
For now this is my code:
.tawcvs-swatches .swatch {
-webkit-border-radius: 10%;
-moz-border-radius: 10%;
border-radius: 10%;
display: inline-block;
width: 60px;
height: 60px;
line-height: 35px;
text-align: center;
margin-right: 15px
cursor: pointer;
/* border: 3px solid transparent; */
border: 3px solid transparent;
position: relative;
opacity: 1;
}
Cool solution tb, and the article is very interesting and 2014! CSS is very little taken advantage... a shame
– hugocsl
Dude, the SVG itself is underutilized. Also because the browsers are not giving full attention to it... Although it’s from 2014, there are some browsers that still do not have good compatibility with SVG. Exempt, of course, IE because it is not a browser. kk
– LipESprY