If you add a bg image to a container, it will be its actual size UNLESS you
add styles that effect its size. Cover, contain, background-size:100% auto;
and the like will effect the size of the bg img.
If you want to see the entire bg img at its actual size the container needs
to be the same dimens
Sounds like your bg img is as big as its container. Makes sense. I'm really
not understanding what you want.
On Friday, May 22, 2015, Crest Christopher
wrote:
> Background-size: 100% auto, scales the background image smaller. If I add
> to the element width: the size of the background image
> i
Background-size: 100% auto, scales the background image smaller. If I
add to the element width: the size of the background
image is perfect, in other words, the exact results I want. Is it
recommended to add width, unless you are using a positioning for the
element ?
No other background-siz
Try one of these Chris.
background-size: 100% auto; //Full width proportionate height (gets cut off by
size of container)
background-size: 100% 100%; full width and height (stretchy)
background-size: auto 100%; //Full height proportional width (gets cut off by
size of container)
HTH,
Best,
Ka
Background-size, or bg:cover won't cause a background graphic to be the
actual width of the graphic, instead {width} works, can this be used on
a background image ?
__
css-discuss [css-d@lists.css-discuss.org]
http://www.css-dis