css background image not showing

Solutions on MaxInterview for css background image not showing by the best coders in the world

showing results for - "css background image not showing"
Giorgio
12 Oct 2017
1.container {
2    background-image: url("img/rose.jpg");
3 	height: 800px;
4}
5/* Check Path to image, in this case, its in a folder called img */
6/* Check if you Linked your css File on your header, you Link it in the 
7	Header like this <link rel="stylesheet" href="main.css"> */
8/* Check if the Name of your Image is the same like how you saved it */
9
10
Swann
13 Sep 2017
1body { background: url('image_path_name') repeat 0 0; }
2
3Make sure image_path_name is correctly written, if not then kindly check file extension once.
4
5Thanks!!