Wlada/vue-carousel-3d

Dynamic width depending on @media

Geschlossen

#79 geöffnet am 22.03.2018

 (1 Kommentar) (1 Reaktion) (0 zugewiesene Personen)HTML (201 Forks)batch import
help wanted

Repository-Metriken

Stars
 (950 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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

Contributor Guide