Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

143
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!