Relative Content

Tag Archive for next.jstailwind-css

Scroll Animation Resets after Sometime

So I am making my own portfolio website. And I wanted to add scroll animation with technologies I know part
I am using tailwind.css with next.js
I have my own component on Scrool.jsx
But scrolling stops after 10-15 seconds, resets and starts all over. It doesnt work smooth.

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 is there any way I compile tailwind through CLI and generate different CSS files for light and dark mode? The dark mode css file contains only those styles that are declared using dark: variant, and light mode contains all other styles.

How to Make Bar Responsive with rotation?

I work on small website and this website need home page so i start building but when i coming to build this bar i dont know how to make it responsivewith all screen, and make it in the bottom of screen and last own is remov the boeder. I use Nextjs , Tailwind CSS
The Bar is Responsive with big Screen
The Bar is Not Responsive With small screen

I can’t run my nextJS when initializing the project with tailwind

I’m quite new to web development and have never used tailwind before. So i wanted to learn tailwind with using the nextJS. I created a new project using the npx create-next-app@latest and choose the option that includes the tailwind package. After the project is created, i tried to run the project using the npm run dev without touching the codes, and i get this error:
enter image description here