Inspired by the Sass Pt.2 course on CodeSchool.com, this Sass mixin gist also adds a parameter to adjust the size of the "caret".
=caret($point,$size)
$opposite: opposite-position($point)
border: $size solid transparent
border-#{$opposite}: $size solid #000
border-#{$point}: 0
height: 0
width: 0