How would you define a background image which would be displayed fitting only
the top of the screen?
Answers
Answered by
1
Answer:
Using CSS, you can set the background-size property for the image to fit the screen (viewport). The background-size property has a value of cover . It instructs browsers to automatically scale the width and height of a responsive background image to be the same or bigger than the viewport.
Similar questions