I am using the jquery vegas plugin that re sizes the background images, yet I would like to learn how to resize the images contained within selected elements.
Example:
- HTML <div class="bg1"></div>
- CSS .bg1 {background-image: url(../img/bg1.jpg);}
What would be the java function to make the image scale to 100% width of the div bg1, bg2, etc. and have the overlay pattern enabled too.
Thanks for any help.
Regs Fab