bootstrap-waterfall.js---responsive grid based on Bootstrap
Bootstrap-waterfall is a respinsive grid waterfall plugin based on Bootstrap,which is easy to apply.
Github here
Step1:
link in bootstrap and your css styling document.
<link href="http://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">link the jQuery in the body bottom
<link rel="stylesheet" type="text/css" href="main.css">
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>Step2:
<script type="text/javascript" src="bootstrap-waterfall.js"></script>
html |
I will put the html data in a script.
It will skip the data when loading the html layout.
css |
Step3:
jq |