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

translateY

Description

The translateY function for CSS specifies a translation by the given amount in the y direction.

Syntax

CSS

translateY()

Values

<translateY()> =
    translateY(
        <length-percentage>
    )
<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