.scrollImg.scrollContactar { background-image: url('/cacheimg?q=75&zc=1&w=2000&src=/uploads/casas/ay/sikartechnology/webs/contacto.jpg'); background-repeat: no-repeat; height: 625px; background-position-x: 50%; background-size: auto 275px; background-size: cover; } @supports ( -webkit-touch-callout : none) { .scrollImg.scrollContactar { background-attachment: scroll !important; background-position-x: 50% !important; } } @media only screen and (max-width: 1024px) { .scrollImg.scrollContactar { background-image: url('/cacheimg?q=75&zc=1&w=1600&src=/uploads/casas/ay/sikartechnology/webs/contacto.jpg'); } } @media only screen and (max-width: 768px) { .scrollImg.scrollContactar { background-image: url('/cacheimg?q=75&zc=1&w=1024&src=/uploads/casas/ay/sikartechnology/webs/contacto.jpg'); } } @media only screen and (max-width: 480px) { .scrollImg.scrollContactar { background-image: url('/cacheimg?q=75&zc=1&w=800&src=/uploads/casas/ay/sikartechnology/webs/contacto.jpg'); } } jQuery(window).scroll(function(){ jQuery(.scrollImg.scrollContactar).each(function( index ) { var barra = jQuery(window).scrollTop()-jQuery(this).offset().top + 550; var posicion = (barra * 0.30); jQuery(this).css({ 'background-position-y': (0+posicion-200) + 'px' }); }); var barra = jQuery(window).scrollTop()-jQuery(.scrollImg.scrollContactar).offset().top + 550; var posicion = (barra * 0.30); jQuery(.scrollImg.scrollContactar).css({ 'background-position-y': (0+posicion-200) + 'px' }); }); CONTÁCTANOS EN: Información de contacto Calle Gran Vía 78-3º izquierda 28013 Madrid (Madrid) 91 782 42 72 947 65 22 44 comercial@sikar-technology.com