« first day (1524 days earlier)      last day (1494 days later) » 

4:27 AM
Good Morning Everyone
 
 
3 hours later…
7:07 AM
hi @jafarbtech thank you. so i have this css code, but i cant see the image. image is in the same folder as html/css files.
.container{
  display: flex;
  flex-direction:column;
  width: 80%;
  margin: 0 auto;
  height: 100vh;
  background-image: url(/images/tlo2.jpg);
  background-size: contain;
  background-position: center;

}
 
7:35 AM
when i add 'images/tlo2.jpg' at the end of web address the image appears. so the path is correct. @jafarbtech
 
8:17 AM
you might have two problems. try giving the following

background-color: red;
background-image: url(images/tlo2.jpg);
If you remove the leading backslash, this will make your image visible. The changing background color confirms your element (.container) is viewable. if background color appears then you can confirm only the url is the problem.
 
8:49 AM
@jafarbtech doesn't work :(
.container{
  display: flex;
  flex-direction:column;
  width: 80%;
  margin: 0 auto;
  height: 100vh;
  background-color: red;
  background-image: url(images/tlo2.jpg);
  background-size: contain;
  background-position: center;

}
 
 
2 hours later…
10:21 AM
@Ramona doesn't work means. what is happening ? can you see the background color red or not?
 
 
5 hours later…
3:20 PM
@jafarbtech unfortunatelly i cant see anything. still background color is white
 

« first day (1524 days earlier)      last day (1494 days later) »