Sebastian Arrieta• 270
@sarrietav-dev
Posted
Or you could use a media query with the background-image property.
This is the tailwind way to do it:
bg-[url('./image/*.jpg')]
// For mobile
lg:bg-[url('./image/*.jpg')]
// For desktop
Marked as helpful
0