The bg-scroll class belongs to the background attachment group within the backgrounds category.
Here is an example of how to use bg-scroll:
<div class="bg-scroll bg-cover overflow-y-scroll h-48 w-96 bg-[url('/placeholders/mountain.jpg')]"> <div class="h-64 w-64"></div> </div>
background-attachment: scroll;
The absolute must-have tool for anyone using Tailwind CSS.
Scan, Edit, Export any tailwind site in browser to create the perfect UI - download the chrome extension!