All Questions
Tagged with tailwind-css reactjs
3,315
questions
0
votes
0
answers
5
views
Grid System - Variable Card Height
I have been trying to make the card's height flexible according to the image but all my efforts have been in vain.
https://i.imgur.com/6SQBGtp.png
enter image description here
Above is the actual ...
-1
votes
0
answers
7
views
Broken Tailwind CSS with NextJS
I have been working on a project which uses NextJS (app router), typescript, tailwind, and all that jazz. I made some changes to one of my components, and the whole tailwind thing just kinda broke. I ...
0
votes
0
answers
26
views
how I can change position of react-slick arrows
I use react-slick and I pass custom arrows, but the default arrow position is right-left.
but I want to change it to the bottom right side.
also, we should consider that I use sliders on another page ...
0
votes
1
answer
23
views
Text overflow ellipses are not showing, instead text just hidden
I am trying to add tabs to an app. The tabs get smaller the more I add, how the tab text is just hidden instead of showing ellipses. Can anyone help?
enter image description here
enter image ...
1
vote
1
answer
26
views
Dynamic Tailwind CSS Classes Not Applying Correctly on Initial Render in React Component [duplicate]
I am trying to achieve a rolling y-axis list which I successfully coded. Here is the behaviour.
I'm working on a React component where I dynamically apply Tailwind CSS classes based on a prop (...
0
votes
2
answers
37
views
I want to change the color of the body, but it takes up the entire screen
I'm creating a web page about a weather app, but I have a problem with the background-color of the body.
I gave the bodysuit the background color #191a38. Inside the body I have a main with the ...
0
votes
1
answer
50
views
Why is the background image in my code not fitting up the screen completely?
I've written a code in React JS and used Tailwind CSS to insert a background image in my code but the image is not filling up to the whole screen. Instead, the image has a margin of the same size on ...
0
votes
1
answer
29
views
Struggling to get this scrollable table with fixed top and left side working
So I have this project where I have a page with a header and then a table.
Now for the table I need to have the top most row to be fixed AND also have the left most column be fixed when I scroll. I ...
0
votes
1
answer
38
views
Scroll Animation Resets after Sometime
So I am making my own portfolio website. And I wanted to add scroll animation with technologies I know:
I am using tailwind.css with next.js
I have my own component on Scrool.jsx
But scrolling stops ...
1
vote
1
answer
33
views
Tailwind gradient not working when using template literals
I'm trying to adjust the following gradient:
bg-gradient-to-r from-rose-400 to-rose-50 from-${percentage}% to-${percentage}%
where percentage is a changing variable.
When I replace the template ...
0
votes
0
answers
36
views
Tailwind CSS Styles Not Applying Automatically in React Project
I'm working on a React project and have integrated Tailwind CSS for styling. However, the Tailwind CSS styles do not apply automatically when I make changes to my CSS or component files. I have to ...
1
vote
0
answers
69
views
Tailwind CSS and Next.js: Local Images Not Rendering with Pseudo Elements
I'm working on a project using Tailwind CSS and Next.js. Despite extensive research, I've encountered an issue I can't resolve.
The Problem:
I am trying to use pseudo-elements ::before and ::after to ...
-1
votes
0
answers
50
views
Is it possible to absolute position a container to the left of a scrollable container [closed]
My issue is that I have code similar to
<div style={{ display: "flex" }} className="App">
<div
style={{
height: "100vh",
width: "200px&...
0
votes
1
answer
23
views
Disable browser/page navigation while horizontally scrolling iframes?
My site has a container of iframes placed side-by-side, which creates a horizontal scroll. When users use a two-finger gesture/trackpad scroll outside the iframe, it scrolls as expected. However, when ...
1
vote
0
answers
19
views
Tailwind CSS Grid doesn't seem to be working properly while using Nextjs. Somtimes works with 4 cols, sometimes doesn't
I was working on this project where i had to use grid on a small component.
Main div :-
import Feature from "@/components/Feature";
export default function WebsiteFeatures () {
return (
...