JSFiddle - React, Tailwind, and code Playground

HTML

<h1>
site with static background
</h1>
this will work on desktop but not on mobile

CSS

body {
  background-image:url(https://cdn.pixabay.com/photo/2024/03/14/08/52/pug-8632718_1280.jpg);
  background-attachment:fixed;
  padding-bottom:2000px;
}