Wlada/vue-carousel-3d

Dynamic width depending on @media

已关闭

#79 创建于 2018年3月22日

 (1 条评论) (1 个反应) (0 位负责人)HTML (201 个派生)batch import
help wanted

仓库指标

星标
 (950 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

Hey,

my content are calculated to fit the props size in term of width.

I would like to know what's the best practice to display a large card (width = 500 / 600) in desktop mode, and less than 300 in mobile mode ?

Should I bypass the props width and use a media query that override the slide width ? Or should i generate the width in JS and pass it as props ?

best regards

贡献者指南