Isotope分类过滤和排序插件在线文档 Filter & sort magical layouts

horizontal

Items are arranged horizontally.

Install

This layout mode is not included in isotope.pkgd.js and must be installed separately.

Download horizontal.js on GitHub.

Install with Bower:

bower install isotope-horizontal

Install with npm:

npm install isotope-horizontal

Options

verticalAlignment

Type: Number a decimal 0 to 1

Aligns items vertically. 0 will align the origin edge. 1 will align the opposite edge. 0.5 will align center.

layoutMode: 'horizontal',
horizontal: {
  verticalAlignment: 0.5,
}