jquery .css( transform:scale origin size code example Example: transform orgin css div { transform: rotate(45deg); transform-origin: 20% 40%; }