Downloads

Background Resize jQuery Plugin

Problem:
Background doesn’t fit the screen total height.
Background-size it’s not cross browser compatible.

Background Resize 100%
I’ve made a jquery plugin to do a more smart image fit and resize. The image doesn’t get distorted and always mantain the image center positioned.

Smart Background Resize. Click here to see example, instrucctions and download.

If you want to make it with pure css, the image will get distorted but it will fit 100%

use: background-size: 100% 100%;  -moz-background-size: 100% 100%;

 

 

 

Beto López
"Full stack" web developer focused in maintenance and bug fixing.Wordpress, Prestashop, HTML, CSS, Javascript, Php and Mysql. Also open source collaborator. Linkedin y Twitter.
We fix things. You rest easy
Let us know what you need, we’ll fix it asap.

Done!

We'll contact you

Oh! Something went wrong

Please, try again



We fix things, you rest easy
We fix websites. You rest easy. Ninjas get the job done. No excuses. No matter the problem, no matter the code, we’re here to help you.


Any doubts? Contact us
by Beto