Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

144
Vistas
Translate text vertically / Transform text vertically

Here in this code on hover text moves horizontally. I want to move it vertically but I don't know which coordinates to change. If anyone could please help me out with the same.

I want to have the line animation along with the text transform animation like the cuberto website has in the header on hover.

Codepen

<body class="demo-1">
        <main>
            <ol class="content">
                <li class="content__item">
                    <a href="#" class="link link--leda" data-text="Transform Vertically">
                        <span>Transform Vertically</span>
                    </a>
                </li>
      </ol>
    </body>

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

The horizontal animation relies on translate3d. That function takes three properties x, y, z.

In your existing code, the transformations on hover all change the x value. To move it vertically, you want to modify the y value.

Here is a quick example based on your code: https://codepen.io/29b6/pen/gOvowbw

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda