css banner image

42

<!--How to Make a Banner Image in CSS-->
<!--Add this code in CSS file-->
#bannerimage {
  width: 100%;
  background-image: url(http://s30.postimg.org/x0ne0p5wx/bootsrap.png);
  height: 405px;
  background-color: purple;
  background-position: center;
}

<!--Add this code in HTML file-->

Comments

Submit
0 Comments