Skip to main content

All Questions

Tagged with
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 ...
Cuentas Internet's user avatar
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 ...
Bilgekaan Berberoglu's user avatar
1 vote
0 answers
26 views

How to do the fluid typography trick in tailwind?

I have always used this line in my vanilla css projects html { font-size: calc(100vw / 1920px * 10px); } body { font-size: 3rem; } this makes my life easier to i design with figma at 1920 so if ...
Taste of Leaving's user avatar
0 votes
0 answers
19 views

Is there a way to create different css files for dark/light tailwind

I have a NextJS project, I am using tailwind and my project suffers from ver large sized css files. Around 65KB. I want to split light and dark mode css files. Is there any webpack plugin for this? or ...
Bilal Javed's user avatar
-1 votes
1 answer
28 views

Why the hover class is not working on tailwind?

I'm trying to style a button with tailwind on Next.js. I want the button background color to change on hover. I'm trying to style a button doing something like this <button className="rounded-...
Otavio Nishimura's user avatar
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 ...
Viko's user avatar
  • 11
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 ( ...
Shreshth Purohit's user avatar
0 votes
0 answers
25 views

tailwindCSS not working in nextJS and Shadcn project

None of the tailwind classnames are working in this project. I have one of each file like components.json, globals.css, and tailwind.config.ts, and the globals.css is imported in the layout.tsx file ...
beatmaister's user avatar
1 vote
1 answer
24 views

Tailwind Classes not applying on certain components in NextTS project

For my blog website, I have different colors in the breadcrumb depending on the topic. The colors also do change respectively for light/dark mode. I set up the colors in the tailwind.config.ts file ...
salia_in_red's user avatar
0 votes
0 answers
18 views

Next JS tailwind css how to set larger and fix input size

i would like to create a large input field for my homepage, just like the Google Search displaying a large search bar centered in page Here is my code <div className="flex justify-center items-...
icantcode's user avatar
  • 152
0 votes
0 answers
44 views

tailwind not working with nextjs, shadcn components

I have a NextJS project using shadcn-ui components, but after adding tailwindCSS, none of the styling shows up when trying classnames. I have configured the components.json, tailwind.config.ts, and ...
beatmaister's user avatar
0 votes
0 answers
20 views

Why using both app router bundle size is big when used along with page router?

I have a working application that use Nextjs page router. I got a task to create new landing page, and decided to use app router. But when I create hello world page and build it, the bundle size is ...
principiorum's user avatar
0 votes
0 answers
38 views

render CSS on server side (Nextjs)

i have project writed on nextjs + tailwindcss. my main goal is to convert styles into row styles to get already formated html css content from server side so that will increase website speed ...
gigi shalamberidze's user avatar
0 votes
0 answers
17 views

Content Overlaps with Footer in Printed Document [closed]

When printing a document using the provided Page component, some content of the page get displayed under the footer in the printed output. This causes the content to overlap with the footer, making it ...
Abdelghani Rizki's user avatar
0 votes
1 answer
33 views

TailwindCSS Breakpoints aren't applying [closed]

I have a NextJS 14 project that I am using Tailwind CSS with. I have the following: <div className="text-amber-dim md:text-amber flex-1 h-screen flex items-center justify-center"> &...
xirulent's user avatar

15 30 50 per page
1
2 3 4 5
95