HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

translate3d

Description

The translate3d function for CSS specifies a 3D translation by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third translation-value parameters respectively.

Syntax

CSS

translate3d()

Values

<translate3d()> =
    translate3d(
        <length-percentage> ,
        <length-percentage> ,
        <length>
    )
<length-percentage> =
    <length> |
    <percentage>
<length>

Specifies the length using a number followed by a unit of measurement.

<percentage>

Specifies the percentage using a number followed by a percent sign (%).

Examples

1 · length

2 · percentage

3 · JS