Coffeekraken.io 0.0.1

s-translate

Return the Map properties representation of a translate x,y and z

Name Type Description Status Default
$x { Number } The x translate value optional 0
$y { Number } The y translate value optional 0
$z { Number } The z translate value optional 0

Return { Map } The translate Map representation

Example

    s-translate(10px,20px);
// return
// (
//     transform: translateX(10px) translateY(20px) translateZ(0)
// )

Author : Olivier Bossel olivier.bossel@gmail.com