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

184
Vistas
How to change a website as a result of aspect ratio?

I'm currently creating a website using HTML, CSS and a little JS. However, the background image I am using, as well as the general UI design, doesn't work on a phone's aspect ratio of 9:16. I was wondering if there is any way to change the background image and the way the website is layout depending on the aspect ratio. So if the aspect ratio is 16:9, it uses a certain image, whilst if it's 9:16 it uses another image.

Thanks in advance for any help :D

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Actually, you can change your design on runtime by using this quote in your CSS file:

@media (max-width: 400px)
{
  
    #ID
    {
      //Changed Style
    }
}
about 4 years ago · Juan Pablo Isaza 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