development:css:cent_bg

Centering background image with CSS

Just add style to HTML

html { 
width:100%; 
height:100%; 
background:url(logo.png) center center no-repeat;
}
Enter your comment:
I L D G P
 
  • development/css/cent_bg.txt
  • Last modified: 2019-10-31 09:04
  • (external edit)