-
Hi there,
Can you check the page below? In the section “Looking for more crash games?” There are four elements in one container; how can I make them the same width and height and responsive on different devices?
Thank you.
-
Hi there,
The 4 containers will be the same height if you set the align-items of the parent container to default instead of flex-start.
To have the same width, set the 4 containers’ grow to 1, shrink to 1, and basis to 0 in the layout panel.
-
Hi Ying,
The second trick works well, and the 4 containers have the same width now.
However, after I set the parent container to default, the 4 containers don’t align as a row. Could you check it? Thank you.
-
Hi there,
Have you resolved this, as all 4 containers are now the same width and height?
-
yes, it’s solved, thank you!
-
Alvind
Glad to hear that!
- You must be logged in to reply to this topic.