February 13, 201511 yr Hello again. Is there is any way to positioning content to background, when background is scaling to browser? I have nice FullHD background, and some my content elements is positioned to be on fixed position above the elements of the background. When i dont 'cover' background it works perfectly as far as browser window shrink to about 1400/800. Then so many background is hidden. So, i use 'cover' in css. Background is scaling, but now content elements no longer are correctly positioned above background. % pos is not working properly.
February 13, 201511 yr If you have fixed the width on an image, you can use: .image { width: 100%; height: auto; } Which will make the image go to 100% and then have an automatic height so it keeps it's aspect ratio.
Create an account or sign in to comment