CSS Background Images

 CSS Background Images


CSS allows you to set background images for elements. Here's an example:


.container {

  background-image: url('image.jpg');

  background-size: cover;

  background-position: center;

}

No comments:

Post a Comment