<div class="s">sample</div>
.s { position: relative; width: 200px; height: 200px; background: #ccc; } .s::after { content: ""; position: absolute; bottom: 0; left: 0; width: 0; height: 0; border-bottom: 14px solid #f00; border-right: 14px solid transparent; }