プロジェクト
概要
CSS 3Dドロップダウンのコンセプト
Web・アプリ開発計測したスター増加
- 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.
関連プロジェクトを探す
読み込み中…