HTML & CSS: Vertical Flow Layout (columnar style), how to implement?

后端 未结 3 1903
悲哀的现实
悲哀的现实 2020-12-09 11:10

The standard CSS/html positioning of \"flowing\" Elements is horizontal (row based) => float:left;. What do I need to do, to position them like in the example b

3条回答
  •  离开以前
    2020-12-09 11:30

    Nowadays, the problem described can be solved in a more flexible manner using Flexbox layout. Requires the latest and greatest browser (IE 11+).

    http://www.sketchingwithcss.com/samplechapter/cheatsheet.html#column

    http://philipwalton.github.io/solved-by-flexbox/

提交回复
热议问题