CBSE BOARD X, asked by akshay111367, 6 months ago

How would you define a background image which would be displayed fitting only
the top of the screen?​

Answers

Answered by Anonymous
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