Attempting to use a custom hex color for my css triangle (border). However since it uses border properties I am unsure how to go about doing this. I would like to steer clea
I think this is a simpler one using clip-path:
.container { width: 150px; min-height: 150px; background: #ccc; padding: 8px; padding-right: 6%; display: inline-block; clip-path: polygon(0% 0%,0% 100%,90% 100%,90% 5%,100% 10%,90% 15%,90% 0%); }
test content