I am facing a challenge with placing the div identified by our_team
below the div with the ID of services
. When I use absolute positioning, the former ends up overlapping the latter.
The services
div transitions to display information when hovered over due to its absolute positioning. On the other hand, the our_team
div only contains header
and paragraph
tags but still overlaps the first div.
If I try removing the absolute positioning, the arrangement of the divs is correct, but it results in white blocks when flipped. https://i.sstatic.net/9TIaw.png
However, upon adding the absolute
positioning, the divs end up overlapping each other.
https://i.sstatic.net/CVRW1.png
For the HTML & CSS code, you can refer to this link: https://jsfiddle.net/dasasathyan/8rjoqdnt/