How to insert background image | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

How to insert background image

9th Sep 2018, 7:20 AM
Prince Presia
Prince Presia - avatar
4 Answers
+ 12
<style> body { backgroung-image: url () } </style>
9th Sep 2018, 7:31 AM
Arpit Mittal
Arpit Mittal - avatar
+ 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>
9th Sep 2018, 8:28 AM
Sudarshan Rai
Sudarshan Rai - avatar
+ 1
//In CSS body { background-image: url(your image url) }
9th Sep 2018, 8:14 AM
Sousou
Sousou - avatar
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
9th Sep 2018, 4:25 PM
Janning⭐
Janning⭐ - avatar