How to make the tip of the "dialogue balloon"?

2

How do I make this triangle before the numbers flap? Can you do this by manipulating the borders?

    
asked by anonymous 06.04.2015 / 03:40

1 answer

4

Yes, and you need a separate element just for the arrow. For example, using a <div> :

div {
    width: 12px;
    border: 6px solid transparent;
    border-right: 6px solid #f4bb00;
}
<div></div>

Read this answer for details on how edge manipulation works to produce triangles.

    
06.04.2015 / 04:20