use translatex in css 3.0 code example
Example 1: transform:translateX()
/* <length-percentage> values */
transform: translateX(200px);
transform: translateX(50%);
Example 2: css scale
transform: scale(sx,sy);
/* <length-percentage> values */
transform: translateX(200px);
transform: translateX(50%);
transform: scale(sx,sy);