position-sticky-polyfill:位置

时间:2021-06-28 10:24:58
【文件属性】:
文件名称:position-sticky-polyfill:位置
文件大小:42KB
文件格式:ZIP
更新时间:2021-06-28 10:24:58
JavaScript 位置粘性polyfill :copyright: 麻省理工学院许可证。 用法 包括 polyfill: < script src = "sticky.js" > < / script > 接下来,初始化您的粘性节点: // sticky top sticky ( '#my-element' , { top : 10 } , callback ) ; // or sticky ( '#my-element' , 10 , callback ) ; // sticky bottom sticky ( '#my-element' , { bottom : 10 } , callback ) ; 注意:回调是可选的。 浏览器支持 IE6+ 火狐 Chrome合金 苹果浏览器 歌剧
【文件预览】:
position-sticky-polyfill-master
----sticky.js(11KB)
----.gitignore(34B)
----demo()
--------stick-bottom.html(13KB)
--------mixed.html(7KB)
--------jquery-1.11.0.min.js(94KB)
--------stick-top.html(13KB)
--------nested.html(11KB)
--------style.css(679B)
----README.md(490B)
----LICENSE.txt(1KB)

网友评论