How does css place a background image on a page
This article mainly introduces how css places background images on the page, which is very detailed and has certain reference value. Friends who are interested must finish reading it!
Body
{
Background-image:url ('/ iCompact) egbind bgrub 03.gif'
Background-repeat:no-repeat
Background-attachment:fixed
Background-position:center
}
Hint: you need to configure the bac kilogram round-attachment property to "fixed" to ensure that this property malfunctions in Firefox and Opera.
The above is all the contents of the article "how to put background images on the page by css". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!