python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
How can I disable scrolling when there's a modal using nextjs tailwind?
I currently have this code set up but I don't think this is the correct one to use as it gives me "document is not defined".
export default function Modal() {
const [modal, setModal] = us...
Amr Ibn Il'As
Votes: 0
Answers: 1
All colors gone after adding custom color in tailwind
I just added a custom color to tailwind like this:
colors: {
'slate': '#475569'
},
Then I ran npm run watch and the color worked as expected, but all other colors are gone, they are wi...
Frevelman
Votes: 0
Answers: 1
TailwindCSS: How can I fix a header & footer to the screen while keeping scrollable content in between?
I'm creating a React PWA for a client using Tailwind CSS and I want to achieve a layout in which there's a header fixed to the top of the screen and a navbar fixed to the bottom of the screen. In betw...
LeperAffinity666
Votes: 0
Answers: 2
In Tailwind's config, what is the difference between adding properties to theme VS theme.extend?
Tailwind's documentation on its configuration makes multiple uses of the extend property, but doesn't clarify the difference of making customizations on the theme property VS the theme.extend property...
sgarcia.dev
Votes: 0
Answers: 1