css for figure previews of layered images