JSFiddle - React, Tailwind, and code Playground

HTML

<div class="girl-cover-photo">

</div>

CSS

.girl-cover-photo{  
    height: 730px;
    width:730px;
    background: url('https://images.unsplash.com/photo-1447014421976-7fec21d26d86');
    background-position:fixed;
    background-repeat: no-repeat; background-size: cover;
}
@media screen and (max-width: 768px){ 
     .girl-cover-photo{ 
     background: url('https://images.unsplash.com/photo-1447014421976-7fec21d26d86');
     background-position:relative;
     }
}