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

277
Vistas
portfolio mobile menu background is slightly transparent on iOS. I want it to be fully opaque and it is on Firefox, chrome etc.. but not on iOS/safari

I tried to add the important statement, here’s the code

// mobile background cover
.bg-cover {
    width: 1px;
    height: 1px;
    background-color: $bg-grey !important;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 20;
    border-radius: 50%;
    transition: transform 400ms;
}

.open-menu .bg-cover {
    transform: scale(2500);
    transition: transform 1s;
    z-index: 996;
    opacity: 1;
}

but it didn’t work…

I also tried to add an if statement for devices using safari but it still didn’t work

// safari mobile menu colour optimisation
const bgCover = document.getElementById('bg-cover');

if(window.navigator.userAgent.includes("Safari")) {
    bgCover.setAttribute ('style', 'background-color: #3c3c4c !important;');
};
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