CSS:
.container {
margin-left: 15px;
width: 10px;
background: #FFFFFF;
border: 1px solid #CAD5E0;
padding: 4px;
position: relative;
min-height: 10px;
font-size:8px;
}
.container:before {
content: '';
display: block;
position: absolute;
top: 1px;
left: 100%;
width: 0;
height: 0;
border-color: transparent transparent transparent #CAD5E0;
border-style: solid;
border-width: 6px;
}
HTML:
<a class="container">1</a>
Can someone explain to me how this css should be modified in order to place the pointer (triangle) to the left side of the box.
I have it in this fiddle: http://jsfiddle.net/DTZwA/
Just update these two lines:
Here’s the fiddle: http://jsfiddle.net/YnD6C/