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

252
Vistas
How to apply a smooth transition when calling a function that curves a text?

I have a heading that I curve by calling a function 5s after loading and I am using the CircleType library for that. My only problem is that I cannot apply a smooth transition to the change.

Can someone help me?

Here is the code:

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  background-color: white;
  justify-content: center;
  align-items: center;
}

.heading {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  color: black;
  font-size: 80px;
  position: absolute;
  top: 50%;
  left: 25%;
  transition: 3s ease-in-out;
}
<body>
    <h1 class="heading" id="smile">LOVE YOUR SMILE</h1>
    <script src="https://cdn.jsdelivr.net/npm/circletype@2.3.0/dist/circletype.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>

    <script>
      setTimeout(function () {
        new CircleType(document.getElementById("smile")).dir(-1).radius(700);
      }, 5000);
    </script>
  </body>

Thank you!

about 4 years ago · Juan Pablo Isaza
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