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

185
Views
Obteniendo un problema de parpadeo al animar el tamaño de fuente al pasar el mouse

Quiero que el tamaño de la fuente disminuya con la transición cuando se pasa el mouse sobre ella. Sin embargo, parpadea al pasar el ratón por encima. Quiero deshacerme del parpadeo.

 .big-box { display: flex; } .big-box span { font-size: 100px; transition-duration: 1s; white-space: pre; } .big-box span:hover { font-size: 50px; }
 <div class="big-box"> <span>I</span> <span>T</span> <span> </span> <span>I</span> <span>S</span> <span> </span> <span>T</span> <span>E</span> <span>X</span> <span>T</span> </div>

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Una mejor manera es usar scale en lugar de font-size , así:

 .big-box { display: flex; } .big-box span { font-size: 100px; transition-duration: 1s; white-space: pre; } .big-box span:hover { transform: scale(0.6); }
 <div class="big-box"> <span>I</span> <span>T</span> <span> </span> <span>I</span> <span>S</span> <span> </span> <span>T</span> <span>E</span> <span>X</span> <span>T</span> </div>

over 4 years ago · Santiago Trujillo 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!