Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

to cut a box in cs

div {
    height: 300px;
    background: red;
    position: relative;
}

div:before {
    content: '';
    position: absolute;
    top: 1; right: 1;
    border-top: 80px solid white;
    border-left: 80px solid red;
    width: 0;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #cut #box #cs
ADD COMMENT
Topic
Name
4+6 =