-1

I'm trying to align horizontally two images that are next to each other with different dynamic text under it. If you review the image I attached it's pretty clear what I'm trying to do. I don't think flexbox properties like flex-end or flex justify-content: space-between will work here. Thanks for your help in advance.

https://i.stack.imgur.com/QYCMh.jpg enter image description here

MikeyNOob
  • 1
  • 4

1 Answers1

0

So I figured out a solution. I used calc() to achieve the results

position: absolute;
width: calc(100% - 50px);
margin-top: calc(112.1% - 980px / 25);

This calc keeps the image stuck to the image next to it. Not sure what the unit numbers mean, I basically fiddled with the units until I got the results I wanted.

Heres the result https://gifyu.com/image/vnPX

MikeyNOob
  • 1
  • 4