Objective I want to display a background image at 100% width on a computer or laptop browser, showing only half of the image when cut vertically on a tablet, and one fourth of the image when cut vertically on a phone.
What I've Attempted I tried using clip-path in CSS, but it enabled horizontal scrolling which is not desired.
On tablet and phone, the remaining part of the image should be hidden via scroll. Only vertical scrolling should be allowed for the background.