@adityaphasu
Posted
Hello @arogersrenee!
I tried playing around devTools and there seems to be quite an easy fix for this!
- Add a wrapper
div
which wraps the cube image and thediv
with the content inside.(I didn't use<main>
since you already have a main tag inside the white container) - Give it
position: relative
. - Now tweak the
left
andtop
properties of the cube. This is what I found to be okay:
top: 42%;
left: -6rem;
- This way the cube will be anchored to the wrapper div and won't move away when you resize the window.
Play around the left and top properties a bit to get the perfect positioning.
Hoping it gets fixed and Good luck!
Marked as helpful
@arogersrenee
Posted
@adityaphasu
Thanks! This worked!
@adityaphasu
Posted
@arogersrenee cheers 🥂