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

170
Views
Cargando la página giratoria al cambiar de página, en la aplicación de reacción

Tengo este código en mi ejemplo de stackblitz de archivo index.html

 <html style="height: 100%;" lang="en" class="perfect-scrollbar-off nav-open"> <head> <style type="text/css"> .loaderDiv { background: #117CF7; width: 100%; height: 100%; display: flex; } .loader { border: 16px solid #f3f3f3; border-radius: 50%; border-top: 16px solid #3498db; width: 200px; height: 200px; -webkit-animation: spin 2s linear infinite; /* Safari */ animation: spin 2s linear infinite; margin: auto; } #supersmartLogo { width: 150px; height: 150px; position: absolute; left: 45%; top: 38%; } .wrapper { background: url('./random.svg') center no-repeat; background-size:50%; margin: auto; width: 240px; height: 240px; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } </style> </head> <body style="height: 100%;" class="g-sidenav-show g-sidenav-pinned"> <div id="root" style="height: 100%;"> <div class="loaderDiv"> <div class="wrapper"> <div class="loader"></div> </div> </div> </div> </body> </html>

funciona bien pero tengo algunos problemas:

  1. el random.svg se muestra solo para la primera recarga y cuando me muevo entre las páginas, el random.svg no se muestra.

  2. ¿Cómo puedo agregar una sombra debajo de la ruleta como esta ?

¿Alguien puede decirme cómo solucionarlo por favor o una mejor manera de lograr este comportamiento?

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