Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

css mask cut diagonal

img {
  width: 100px;
  height: 100px;
  -webkit-clip-path: polygon(0 0, 0 100px, 100px 80px, 100px 0);
  clip-path: polygon(0 0, 0 100px, 100px 80px, 100px 0);
}
 
PREVIOUS NEXT
Tagged: #css #mask #cut #diagonal
ADD COMMENT
Topic
Name
8+8 =