Adding an arrow on both sides of a div using CSS? [closed]
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I want an arrow on the left and right side of a div. Like here, but on both sides: http://cssarrowplease.com/ Is that possible? 回答1: Add an extra div inside .arrow , on which you add a :before and :after pseudo class as well. (Note: the extra div is necessary because of the extra border. The border is created by