So I try to use the image like background. But for now I face the problem with dimensions of it. When I try to set the width and height by 100%
I got an empty container without image.
Question - how to set image size by it's original width and height
in case we do not know the size
of the image
before upload?
background: url(https://img.com/1000061770.jpg) no-repeat;
background-size: contain;
height: 100%; // not work
width: 100%; // not work