Фоновое изображение 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>
<!-- 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>