html - Show specific part of background image -


i'm having little problem 1 of background images in div element. i'm using following css:

.mybox {  background-image:url('....');  background-repeat:no-repeat;  background-size:cover; } 

my background image picture people on it. now, if increase width of browser window, @ specific point, of people cutted off (due automatic resize of image 'background-size:cover').

my question is: there option (or jquery plugin), set specific part on background image visible on window sizes , fill whole element?

try boostrap3 img-responsive class

.img-responsive makes image responsive (will scale nicely parent element) http://www.w3schools.com/bootstrap/bootstrap_ref_css_images.asp


Comments