Advertisements
Advertisements
प्रश्न
How would you define a background image which would be displayed filling only the top of the screen?
कोड लेखन
परिभाषा
Advertisements
उत्तर
After setting the background-repeat property’s "repeat-x" value, which indicates that the background will only be repeated horizontally, we must place the image in the top left corner of the page.
body { background: url(logo.gif) repeat-x fixed left top; }shaalaa.com
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
