Skip to content
This repository has been archived by the owner on Apr 5, 2023. It is now read-only.

oneo-me/Smile-Waterfall

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smile Waterfall

一个基于Jquery开发的瀑布流插件

官网

下载地址

预览

食用方法

<ul id="waterfall">
    <li>
        <div>
            内容1
        </div>
    </li>
    <li>
        <div>
            内容2
        </div>
    </li>
</ul>

// 执行瀑布流代码
$(document).ready(function ()
{
    $('#waterfall').NewWaterfall({
        width: 360,
        delay: 100,
    });
});
  • ul 是瀑布流
  • li 是瀑布流其中一个列表,主要用来做定位
  • li中的div是用来做样式的

效果图

1

About

Jq与原生Js两个版本的瀑布流插件

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published