Eureka Moment Wiki

One eureka moment at the time

User Tools

Site Tools


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;
}
development/css/cent_bg.txt · Last modified: 2017/12/12 09:01 by tplecko