TailwindCSS calc not working when implementing header
I am trying to create a header, below is my implementation of it, I used calc to subtract the height preserved for the header:
transition effect on tailwind isn’t working
the duration was supposed to act a fade transition between the imgages on the carusel but it just appears in without any effect.
How to auto scroll when a new message pops up and not send an empty message?
I’m building an AI chatbot and I’m using tailwind to integrate css in my jsx file. I’ve been stuck on how to make the app scroll down automatically whenever a new message is sent or recieved. I want it so that if i scrolled up while waiting for the bot to respond it drops me down to see the response immediately. I also want it so that it doesn’t send a blank message.
React TailwindCSS not installing
I’m trying to learn React, but I’ve tried with videos, documentation, everything I could, but it’s not working. It’s not throwing any errors.
If it were up to me, I would use Bootstrap, but since I’m an intern, my workplace wants me to use Tailwind.
Background Image for Parallax Effect Moves Sideways When Scrolling Up
I’m implementing a parallax effect on my website where the background image changes based on the scroll position. The background image is supposed to stay fixed horizontally and change only vertically as the user scrolls. However, I’m encountering an issue where the background image moves sideways (horizontally) when I scroll up.
React + Tailwind Design Issue: Dynamic Arrow Alignment Outside Buttons
Centre the arrow outside the button that it always points towards the centre of the right border outside using Tailwind CSS for my React JS app
Current design
Desired Design
I’m building podcast using react however I have a problem with useRef and react router. and just overall using the terminal
I’ve installed all the dependencies I need to use, however, my code is not showing up in the browser. I’ve tried updating the dependencies and making sure my versions of React are matching. Everything is fine so I’m not sure what the problem is. I’m using tailwindcss for my project
Tailwind hover effect does not working in React Component
I have a React component called Buttons and as the name suggests, this component is used for all the buttons in my project. In order for this component to be completely dynamic, I decided to get the background color of the buttons from props(the background color is a tailwind class). Then I decided to put a hover class on the button so that when the mouse hovers over the button, the background color will increase by 100 units.
Certain Tailwind CSS Classes Not Applying Properly
className={${valueItem === value ? "bg-green-400 bg-opacity-10 text-green-500 hover " : "hover "} flex px-8 py-2 bg-white w-full text-sm font-semibold text-secondary-text transition-all}