Neat idea, and seems to work well.
On the other hand, having to include two classes seems sloppy. Why not just roll the core styles into the position classes, or include a default position in the 'hint' class?
Double dashes in class names are also annoying.