Is there any way to make the height of background-size take precedence over the width? If you resize the browser window at: widthwise, you'll see the image leave the dock at the foot of the screen and lose none of its constraints; whereas if its minimised heightwise, elements of the image disappear below the menu bar, as the width is maintained percentagewise.
How can the width be "ignored" here?
Code:
background-image: url(images/bg-2.jpg);
-webkit-background-size: 100%;
-moz-background-size: 100%;
-o-background-size: 100%;
background-size: 100%;
How can the width be "ignored" here?