How to flip the glyphicon icon

Like this HTML <a href=”#” class=”btn”><i class=”icon-rotate icon-flipped”></i></a> CSS .icon-flipped { transform: scaleX(-1); -moz-transform: scaleX(-1); -webkit-transform: scaleX(-1); -ms-transform: scaleX(-1); } OR http://fortawesome.github.io/Font-Awesome/examples/#rotated-flipped

Scale and mirror SVG object

To apply both scale and flip, just list both in your transform: transform=”scale(2,2) scale(-1,1)” Or simply combine the values: transform=”scale(-2,2)” Of course, the issue you have with negative scales is that the objects get flipped across the origin (top left) of the SVG, so they can go off the edge of the document. You need … Read more

What is the purpose of ByteBuffer’s flip method? (And why is it called “flip”?)

One fairly common use case for the ByteBuffer is to construct some data structure piece-by-piece and then write that whole structure to disk. flip is used to flip the ByteBuffer from “reading from I/O” (putting) to “writing to I/O” (getting): after a sequence of puts is used to fill the ByteBuffer, flip will set the … Read more