.rot90 { display:inline-block; text-indent:0; transform:rotate(90deg); } .reflect { display:inline-block; text-indent:0; transform:scale(-1,1); }