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
Amine JS crea un elemento en el centro

Estoy tratando de hacer una cartera. Mi intro tiene un dom como este

 <div className={clsx("inline-flex", "items-center", "space-x-4")}> <div id="logo" className={"flex"}> <LoaderIcon isOnLoader={true}/> </div> <div className={"flex flex-col"} id={"title_container"}> <div id="subtitle" className={"text-neon-violet"}> {descriptionSmall} </div> <div id={"title"} className={"text-neon-violet text-4xl tracking-tighter"}> {title} </div> </div> </div>

En la animación, estoy reduciendo el #title_container a 0 usando

 loader.add({ targets: "#title_container", duration: 800, easing: 'easeInOutQuart', scale: 0, })

El #title_container desaparece, pero el #logo permanece en el mismo lugar.

Quiero hacer la animación como si el título se encogiera y el logotipo se centrara al mismo tiempo.

Por favor, ayúdame con esto. Gracias

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Hasta donde yo sé, tenemos una línea de tiempo en animejs. Seguimos añadiendo los elementos que necesitan ser animados.

Aquí hay un enlace a los documentos de la línea de tiempo para animejs. https://animejs.com/documentation/#timelineBasics

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!