Image d'arrière-plan CSS
background-image: url("image.png");
background-position: center;
background-repeat: no-repeat;
background-size: cover;
Unusual Unicorn
background-image: url("image.png");
background-position: center;
background-repeat: no-repeat;
background-size: cover;
<style>
body {
background-image: url('img_girl.jpg');
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
}
</style>
<html>
<head>
body{
background-image : url('Resources/VS7.png');
<!--To cover whole screen-->
background-size : cover;
<!--To set no repeat-->
background-repeat : no-repeat;
}
</head>
<body>
</body>
</html>
<!-- Background image -->
<div class="bg-image" style="
background-image: url('https://mdbootstrap.com/img/new/standard/city/041.jpg');
height: 100vh;
"></div>
<!-- Background image -->
<style>
p {
background-image: url('img_girl.jpg');
}
</style>