Any ideas on how I could implement a grid-view in CSS? - CSS

前端 未结 1 1451
灰色年华
灰色年华 2020-12-10 20:21

Here is an example grid-view:

\"alt

Also another example from TED.com

相关标签:
1条回答
  • 2020-12-10 20:46

    I've achieved a similar grid in the past with David Desandro's awesome jQuery Masonry plugin. As that page illustrates, CSS floats aren't so great for grid layouts, and setting up "units" like you describe could be a massive headache, depending on the complexity of the grid and range of cell sizes.

    0 讨论(0)
提交回复
热议问题