Having trouble changing the appearance of my scrollbar in a single page application using Tailwind (react/next).
I've attempted to create custom CSS for the first div in my index file, like so:
<div className="no-scroll"> <<<<<<<--------- Adding custom css here
<Head>
<title>Oscar Ekstrand</title>
<link rel="icon" href="/images/favicon.ico" />
</Head>
<main className="flex flex-col no-scroll">
<section ref={heroref}>
<Hero scrollToContacts={scrollToContacts} />
</section>
<section ref={offeringref}>
<Offering />
</section>
<section ref={processref}>
<WhatIDo />
</section>
<section ref={biographyref}>
<CvBar />
</section>
<section ref={skillsetref}>
<Skillset />
</section>
</main>
<section ref={contactsref}>
<Footer />
</section>
</div>
While I've successfully applied custom CSS classes to other elements like buttons using various methods, such as a "plugin-approach" or global style sheet (https://play.tailwindcss.com/zQftpiBCmf), I'm struggling to figure out how to customize the scrollbar's appearance.
Any suggestions would be greatly appreciated!