项目
在 GitHub 查看
soulwire/Makisu
关于
CSS 3D 下拉菜单概念
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- -1
- 15天
- -1
- 1个月
- -1
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Makisu
An experimental CSS 3D dropdown concept, wrapped up in a jQuery plugin.
Check out the demo (you'll need a CSS 3D capable browser, such as Chrome.)
A current list of supported browsers can be found here.
Example usage
Use it like any regular jQuery plugin:
$( '.list' ).makisu({
selector: 'li',
overlap: 0.2,
speed: 0.8
});
The options available are:
selectorChildren matching this selector will be folded into the MakisuspeedThe animation duration (in seconds) for each folding itemoverlapFraction ofspeedby which folding items overlap (0to1)shadingDefault shading colour (nullfor no shading)perspectivePerspective to apply to 3D transformed objects
API
Once an element has been extended as in the example above, you can open, close and toggle it.
$( '.list' ).makisu( 'open' );
Trivia
The name comes from the object that inspired it.
探索相关项目
加载中…