Html/Css Triangle with pseudo elements
The issue is with the use of border. you can check this link How do CSS triangles work? and you will understand how border works and why you get this output. An alternative solution is to use rotation and border like this : .box { border: 1px solid; margin: 50px; height: 50px; position:relative; background: #f2f2f5; … Read more