How can I create an arrow using only CSS?
I have seen the following example:
.arrow {
height: 0;
width: 0;
border: 4px solid transparent;
}
.arrow.up {
border-bottom-color: #000;
}
.arrow.down {
border-top-color: #000;
}
http://jsfiddle.net/FrsGR/
However I cannot understand how it creates arrows. Can someone explain
this for me?
No comments:
Post a Comment