Home > Web Front-end > HTML Tutorial > Help, DIV arrangement problem_html/css_WEB-ITnose

Help, DIV arrangement problem_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:13:51
Original
986 people have browsed it



These 8 cards are 8 DIVs whose height is not fixed. How can I arrange them row by row instead of being arranged randomly like this? If the browser is small, each row may be arranged into 2 cards. .

Please help, thank you


Reply to discussion (solution)

You can refer to
Super cool waterfall Streaming special effects animation

Can you confirm that there are only 3 columns? ? ? ? Then you make 3 DIVs, each with a certain width and an uncertain height, and then you can put your content DIVs in the three larger DIVs, so that you can