PHP中文网2017-04-17 11:15:10
Write a p, and the background is the color behind it. Hide two edges, rotate p to a certain angle, and position it at the corresponding position.
ringa_lee2017-04-17 11:15:10
@元宇 Thank you for your answer
http://codepen.io/lishengzxc/pen/waeELg There is no browser private attribute, and there is no problem opening chrome
You may think that the color of the triangle is hard to write, but it’s okay. There are many ways, such as using css3’s attr to do it