I'm trying to make a triangle in the background
css. I tried to use clip-path
:
.triangle-col {
width: 16px;
height: 16px;
background: red;
cursor: pointer;
clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}
But all the tooltip
is blocked by the clip-path
. Any ways that I can make a triangle and a down-triangle at the background
without using clip-path
?