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

753
Vistas
How to resize ion-spinner

I'm using ion-spinner in a ionic application. But im my case i want to change the size of the spinner. When i use custom css with default spinner Resizing works fine. But with Bubbles,Circles, Dots spinners, it doesn't work properly.
CSS

.spinner-large {
  width: 100px;
  height: 100px;
}

HTML

    <ion-spinner name="dots" class="spinner-large"></ion-spinner>

how can i fix this.

Stackblitz example

over 4 years ago · Santiago Trujillo
3 Respuestas
Responde la pregunta

0

Try using

ion-spinner {
    transform: scale(3);
}

From ionic forum its mentioned that this will make you loose some resolution.

over 4 years ago · Santiago Trujillo Denunciar

0

I ran into a similar styling issue and to resolve it I needed to add position: absolute to css rules

over 4 years ago · Santiago Trujillo Denunciar

0

As Ionic 4, you can use width & height:

ion-spinner {
  width: 3em;
  height: 3em;
}

https://github.com/ionic-team/ionic-framework/issues/18115

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