Is it possible to create a pinterest-like layout w

2019-01-04 06:26发布

I am trying to the get my head around this for quite some time now:

Is it possible to create a pinterest Layout with Twitter Bootstrap only? I know there are jQuery Plugins like Masonry, but is there no way without them?

Thanks

8条回答
forever°为你锁心
2楼-- · 2019-01-04 07:12

Found this solution, works within bootstrap (works even without defining column sizes), doesn't require javascript -- I snapped it into a project and it works beautifully:

http://www.bootply.com/118335

Bless you @katiejones!

查看更多
We Are One
3楼-- · 2019-01-04 07:15

There we have a stuff named: bootstrap-waterfall:
http://mystist.github.io/bootstrap-waterfall/

But in fact, this plugin does not need bootstrap as it's dependencies. It's depends on whether you want to use bootstrap as your pin's markups or just style it yourself.

查看更多
登录 后发表回答