Css transparent sections in an image and i need a div behind it that is locked into place even by responsive layout?! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Css transparent sections in an image and i need a div behind it that is locked into place even by responsive layout?!

Position :absolute for the parent div relevant for the child didnt work. Is there any way to keep it stuck in the same place with the parent, as it changes size to become responsive

29th Aug 2019, 5:07 PM
Rawad Abdul Salam
Rawad Abdul Salam - avatar
1 Answer
0
Rawad Abdul Salam can you show your code? . if you want the child div to have the absolute position in relation to the father ... try putting the father div as a relative position. but if I could see the code it would be easier... good luck!!
29th Aug 2019, 8:31 PM
Eze