After I created the site for PC above, I decided to respond to it for smartphone.
How do I get .image under .sentence?
If it is acceptable for the logical structure to be reversed, you can do the following:
The liver of this sauce is
If the aspect ratio of the image has been determined:
Are you simply talking about the layout you want to display?
I can't say for sure because I can't see the whole thing
I think it is difficult or not recommended to solve it with CSS.
If you want to simply replace elements,
I think it's better to do the operation in your own way.
In order for CSS to resolve this issue, the following statements are required:
It is difficult if the height fluctuates dynamically.
Above all, it's not a recommended way to write.
I also commented out the jQuery code and wrote it down, so
I think it is desirable to solve it here.
If you have other elements, try using
© 2022 OneMinuteCode. All rights reserved.