Need help CSS For Responsive Hero

I wanted to ask for some assistance on making this attached image responsive. There are two objects. One on the left and one on the right. Also, there is text in the middle. I've tried to use absolute position for the two objects, but they don't scale correctly when resizing. Can someone assist with the best approach to tackle this? Thank you!
No description
4 Replies
vince
vince•8mo ago
I almost want to say that that can be a grid with 3 columns, and the 2 rectangles can just be a transform: rotateX(). Those 2 rectangles can then scale off the grid column width I'm not sure how you want the design to look for mobile though, but can be anything you want with a media query
Rich B
Rich BOP•8mo ago
Hey @vince, thank you for your input. The two rectangles are actually product images. Do you suggest to handle them in the same fashion? Thanks!
vince
vince•8mo ago
I think so, yes! try it and we can see how it behaves / looks 🙂
Rich B
Rich BOP•8mo ago
Thanks!
Want results from more Discord servers?
Add your server