Phone overlap on a container
I have a figma design which is in the cover, and I want it to code using html and css, the problem is, I cant execute it properly using position absolute, I can position it in my desire look but I cant make it stay on that position, and second its not responsive. Sorry in adv Im using variables on other css properties.
Any one can help me figure out how to execute this properly?
Heres the HMTL:
2 Replies
Maybe try using grid? Then the item that’s position absolute will be relative to its own cell
There’s a YouTube video that may help with your goal, let me see if I can find it .
Putting it in a codepen so we can see all of the code and what the variables are doing would help too. From your description I’m not sure what it IS doing other than not doing what you want it to .
Kevin Powell
YouTube
Position absolute and responsive layouts
🎓 - I have a free course on conquering responsive layouts: https://courses.kevinpowell.co/conquering-responsive-layouts
A lot of people struggle with responsive layouts, and even more so when they use position: absolute. In this video I'm looking at how we can work with position absolute in a responsive way 🙂.
🔗 Links
✅ The Frontend Mentor pro...