as shown in figure
- the right and bottom margins of Button2 are fixed, and the position of Button1 is always on the left of 2
- when the page shrinks, Button2 always keeps the distance to the right, moves to the left, and there is always a minWidth, Button1 at 2 to the left
- Button2 when the page width is greater than a certain value, stretch according to the screen size, while keeping the distance between the left and right sides, Button1 is always on the left side of 2
if you don"t use JS to calculate the position, can you use pure CSS to set the relative position of one element relative to another sibling element?