Optionaloptions: CoverflowOptionsCompute the CSS styles for a single item.
— the item's position in the array
— the currently centred / active index
— total number of items
Returns the CSS style object for the track container itself.
Strategies may set perspective, overflow, etc.
Classic coverflow strategy inspired by macOS / iPod Cover Flow.
The active item is shown front-and-centre; neighbours are rotated, pushed back on the Z axis, and tightly stacked so they overlap — just like the original Cover Flow in iTunes and macOS Finder.
Example