Foros del Web » Creando para Internet » CSS »

Header fixed en safari IOS

Estas en el tema de Header fixed en safari IOS en el foro de CSS en Foros del Web. Hola Tengo el siguiente código para hacer un header fixed: @import url("http://static.forosdelweb.com/clientscript/vbulletin_css/geshi.css"); Código CSS: Ver original #navHeader {     height : 96px ;   ...
  #1 (permalink)  
Antiguo 22/01/2016, 05:03
Avatar de kakashi20  
Fecha de Ingreso: septiembre-2009
Mensajes: 616
Antigüedad: 14 años, 7 meses
Puntos: 15
Exclamación Header fixed en safari IOS

Hola

Tengo el siguiente código para hacer un header fixed:

Código CSS:
Ver original
  1. #navHeader {
  2.     height: 96px;
  3.     position: relative;
  4.     top:0;
  5.     z-index: 3;
  6.  
  7.     -webkit-transition: all 0.4s ease-in;
  8. -moz-transition: all 0.4s ease-in;
  9. -ms-transition: all 0.4s ease-in;
  10. -o-transition: all 0.4s ease-in;
  11. transition: all 0.4s ease-in;
  12. }
  13.  
  14. .headerFixed{
  15.     position: fixed !important;
  16.     width: 100%;
  17.     background: #000;
  18.     opacity: 0.8;
  19.     z-index: 9 !important;
  20.     display: block;
  21.     left: 0;
  22. }

Cuando el scroll baja , se adiciona la clase .headerFixed al id #navHeader

Esto funciona perfecto en el navegado chrome pero en safario IOS , aparece un extraño efecto como de animación de izquierda a derecha , el cual no debería ser así.

Alguna idea ?

Gracias

Etiquetas: background, fixed, header, ios, safari, width
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 18:29.