How does css set the background image for multiple elements at the same time
This article mainly shows you "css how to set the background image for multiple elements at the same time", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "css how to set the background image for multiple elements at the same time" this article.
Body {background-image:url (/ i/eg_bg_04.gif);} p.flower {background-image:url (/ i/eg_bg_03.gif); padding: 20px;} a.radio {background-image:url (/ i/eg_bg_07.gif); padding: 20px;} I am a paragraph with a patterned background. I am a link with a radioactive background.
Note: in order to clearly display the background images of paragraphs and links, we set a little margin for them.
The above is all the content of the article "how css sets background images for multiple elements at the same time". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!