How can I make octagon shape box?
问题 I want to create the below given box by using CSS. I searched a lot and read very good articles like https://css-tricks.com/examples/ShapesOfCSS/ but I got stuck in one issue - the purple border cutting edges. I tried octagon shape but that is not working for this case. I almost achieved this. Here is my snippet: .box-outer { width: 300px; height: 120px; padding: 15px 30px; background: rgba(237, 236, 236, 0.72); border: 3px solid rgb(89, 67, 128); position: relative; border-right: 20px solid