What i'm trying to achieve is to fill a div with an image both in width and height. What i get is control over width but height will respect aspect ratio without filling div in height. Tried background-size: cover and contain in every combination possible but what i can really cover without cropping is just width. I can't give absolutely size in pixel because my page is responsive.
.slick-list {
background-image: url(http://lace.x10host.com/wp-content/uploads/2015/11/slicklist.png);
background-size: 100%, cover;
background-repeat: no-repeat;
}
What i really need is to make the white stripe (1440 x 76 px) in image 1 cover the entire slicklist in image 2. Is it possible with css?
I'm getting mad, help me please!