+ 3
How to insert background image
4 Antworten
+ 12
<style>
body {
backgroung-image: url ()
}
</style>
+ 7
✓Only background-image:url();
is not enough for Good background image ,You need to add this for better result
<style>
body {
backgroung-image: url ();
background-position:center;
background-size:cover;
background-repeat:no-repeat;
height:100%;
}
</style>
+ 1
//In CSS
body {
background-image: url(your image url)
}
0
There are already similar (if not identical) questions posted. You can find the answers using the search bar.
Please help keep the quality of posts high in this section of the forum, SoloLearn servers uncluttered, and app latency low by reviewing the following:
https://www.sololearn.com/Blog/38/8-simple-rules-to-get-help-from-the-community/
Be sure not to miss the link to the Community Guidelines toward the bottom of the article.
Happy coding!
P.S. Please see the following post for a humorous interpretation (but still an earnest plea).
https://www.sololearn.com/post/10362/?ref=app