[Vuejs]-How to change background image on mobile view?

0👍

An img tag with a background-image, isn’t this a bit wierd syntax? If i was you i would just use normal src for the img tag, and then have 2 different element, that you show/hide depending on screensize. (Javascript window.width or css media-queries)

Leave a comment