Proyek
Lihat di GitHub
soulwire/Makisu
Tentang
Konsep dropdown 3D CSS
Pengembangan web dan aplikasiPertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- -1
- dalam 15 hari
- -1
- dalam 1 bulan
- -1
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
AsliMakisu
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.
Jelajahi proyek terkait
Memuat…