Skip to content

Instantly share code, notes, and snippets.

@jackiewu
jackiewu / Inline Radio Buttons.markdown
Created August 1, 2015 04:11
Inline Radio Buttons
@jackiewu
jackiewu / Material Playing Cards.markdown
Created August 1, 2015 04:11
Material Playing Cards
@jackiewu
jackiewu / Rotating 3D Slider.markdown
Created August 1, 2015 04:01
Rotating 3D Slider

Rotating 3D Slider

Sourse of inspiration - http://rdcm.com/en/

Slider not working in IE, because of transform-style: preserve-3d. Handle control is broken in FF during rotation, because FF still have this nasty bug with stacking context and translateZ, and it's simply breaks z-index order for elements.

I tried to create this slider as sort of plugin/component. It's more like a practice, so js architecture is pretty random. But it's working :) And you can use multiple sliders on page with different sizes and different settings (you can find options object in js).

Don't forget to rotate slides with control handle.

@jackiewu
jackiewu / Multi Page Form (Pure CSS).markdown
Created August 1, 2015 04:01
Multi Page Form (Pure CSS)
@jackiewu
jackiewu / Natural Language Form.markdown
Created August 1, 2015 04:00
Natural Language Form
@jackiewu
jackiewu / Clip-path: Diamond grid.markdown
Created August 1, 2015 03:59
Clip-path: Diamond grid
[{"name":"Bears","color":"Blue","position":{"x":177,"y":85},"modelclass":"Bear","increment":false,"timestamp":false,"softdelete":false,"column":[{"colid":"c217","name":"id","type":"increments","length":"0","order":0,"defaultvalue":"","enumvalue":""},{"colid":"c218","name":"name","type":"string","length":"200","order":1,"defaultvalue":"","enumvalue":""},{"colid":"c219","name":"danger_level","type":"string","length":"200","order":2,"defaultvalue":"","enumvalue":""}],"relation":[{"extramethods":"","foreignkeys":"","name":"fish","relatedmodel":"Fish","relationtype":"hasOne","usenamespace":""},{"extramethods":"","foreignkeys":"","name":"trees","relatedmodel":"Trees","relationtype":"hasMany","usenamespace":""},{"extramethods":"","foreignkeys":"bear_id, picnic_id","name":"picnics","relatedmodel":"Picnics","relationtype":"belongsToMany","usenamespace":""}],"seeding":[]},{"name":"Fish","color":"Yellow","position":{"x":1063,"y":14},"modelclass":"Fish","increment":false,"timestamp":false,"softdelete":false,"column":[{"c