ARTICLE AD BOX
There is no gap in the right side, even after I added margin end and right-1 to inner triangle. How can it be made to work?
I don't want to hard code the heights/widths on inner triangle, I want it to be dependent on outer triangle if possible
Update, I found one way to control the width of border, but the right border is always less than the left one. How to find formula to get correct value of x below, so that the inner triangle edges are at same distance from side. Need help from maths person
3
You can find the triangle you are looking for within my collection: https://css-generators.com/triangle-shapes/. I already did the calculation
It's #21
And if you want to fill it. Move the code to a pseudo element and use #17 on the main element
281k31 gold badges381 silver badges506 bronze badges
Explore related questions
See similar questions with these tags.

