I have three problems:
When I tried to use a background image in a smaller size div, the div shows only part of image. How can I show the full or a specific part of image?
I have a smaller image and I want to use in a bigger div. But don't want to use repeat function.
Is there any way in CSS to manipulate the opacity of an image?
This worked perfectly for me
To automatically enlarge the image and cover the entire div section without leaving any part of it unfilled, use:
This will work like a charm.
Try below code segment, I've tried it myself before :
Resize the image to fit the div size.
With CSS3 you can do this:
How Do you Stretch a Background Image in a Web Page:
About opacity
Or look at CSS Image Opacity / Transparency
Rather than giving
background-size:100%;
We can give
background-size:contain;
Check out this for different options avaliable: http://www.css3.info/preview/background-size/