Multi layered divs with floats. Help
Posted: Tue Aug 02, 2016 9:25 am
Hi. Am trying to get a div at the top of the acreen.
It has to be full width with the image going full height and width of the screen. So 1920 the image would reach 1920.
Overlaid that I want two divs side by side. Left and right but in middle of image vertically.
I tried setting main div with background image. An inner div with 0 opacity at 100% and then floating divs over that but cannot get it right. And maybe there is an easier way.
On mobile I will have the background image zoomed so it can be talking and the left right divs on top of each other.
It has to be full width with the image going full height and width of the screen. So 1920 the image would reach 1920.
Overlaid that I want two divs side by side. Left and right but in middle of image vertically.
I tried setting main div with background image. An inner div with 0 opacity at 100% and then floating divs over that but cannot get it right. And maybe there is an easier way.
On mobile I will have the background image zoomed so it can be talking and the left right divs on top of each other.