create an irregular shape div css

46

.wrapper {
    width: 100px;
    height: 100px;
    margin-left: 100px;
    perspective: 150px;
}

.test {
    height: 100px;
    width: 100px;
    background: red;
    transform: rotateX(45deg);
  	transform: rotate(90deg);

}

Comments

Submit
0 Comments