CSS Polygons
CSS Polygons
Out of context: Reply #5
- Started
- Last post
- 6 Responses
- moniker0
button {
width: 150px;
height: 100px;
background: #000;
-webkit-clip-path: polygon(0 50%, 10% 35%, 90% 35%, 100% 50%, 90% 65%, 10% 65%);
clip-path: polygon(0 50%, 10% 35%, 90% 35%, 100% 50%, 90% 65%, 10% 65%);
}