<style> p { width: 200px; height: 50px; line-height: 50px; background: red; } p::before { display: inline-block; border: 5px solid transparent; border-right-color: red; content: ""; position: relative; left: -10px; } </style>
<p></p>
附图:
<style> p { width: 200px; height: 50px; line-height: 50px; background: red; } p::before { display: inline-block; border: 5px solid transparent; border-right-color: red; content: ""; position: relative; left: -10px; } </style>
<p></p>
附图: