body{ margin:0px auto; } .test{ margin:0px auto; position:absolute; height:100%; width:100%; background: url("../images/bg.png"; background-size:100% 100%; }
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre questionbody{ margin:0px auto; } .test{ margin:0px auto; position:absolute; height:100%; width:100%; background: url("../images/test.jpg") no-repeat center; background-size:21% 100%; }