Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

Tailwind v4 killed the config file 😳 Now, it's just CSS variables. Here's why that's awesome

86,900 Aufrufe • vor 1 Jahr •via X (Twitter)

8 Kommentare

Profilbild von port
portvor 1 Jahr

how tf did u draw this

Profilbild von Ben Holmes
Ben Holmesvor 1 Jahr

😏

Profilbild von Prasenjit
Prasenjitvor 1 Jahr

CSS is now a programming language.

Profilbild von Carl(it)os Capote 🇮🇨
Carl(it)os Capote 🇮🇨vor 1 Jahr

In Tailwind v5 Tailwind itself will be removed and you will be able to write pure CSS. 🔥

Profilbild von Mr Ally 🤗
Mr Ally 🤗vor 1 Jahr

They don't know how it helps to configure css with javascript 😂

Profilbild von cor
corvor 1 Jahr

great QoL improvement

Profilbild von Web Reaper | Website Engineer
Web Reaper | Website Engineervor 1 Jahr

The CSS config file is fantastic Only thing I've had issue with is when I have an extra Tailwind class I add with javascript later. It doesn't get bundled by default. So I effectively need to create it in the utilities later Something like .sr-only { apply sr-only; }

Profilbild von Allan Pichardo
Allan Pichardovor 1 Jahr

It's all coming full circle. Soon tailwind will be just CSS again.

Ähnliche Videos

CSS variables are live and they are POWERFUL. Now Live on Product Hunt 🚀 ➡️ Create a design system "So you can stay consistent and build much quicker." Define global styles like colors, gradients, sizes, and box shadows. ➡️ Use your variables everywhere "So you never have to manually enter a border color again." You're not limited to just sizes, colors, and font families. Use variables in gradients, box shadows, transforms, and more! ➡️ Start with libraries like Open Props, expertly crafted CSS variables "So you can use a tried and true system, and so we can standardize our Projects." Because there are no abstractions, you can use existing CSS variable libraries like Open Props, an expertly crafted library of CSS variables, and the recommended starting point in Webstudio. ➡️ Create complex micro-interactions "So when you hover a link, you can change any children's styles." CSS variables go beyond reusability! You can define variables anywhere in the navigator, such as on a link, and modify the variables on hover. Then, you can use those variables on the children to create complex micro-interactions! ➡️ Design and build simultaneously "So when deciding that perfect border color, you can arrow through all your options." Experimenting on the canvas just got a whole lot better. Now, you can arrow through your variables and see them rendered on the canvas to see which works best. ➡️ Change variable by breakpoint "So you can make the variables look great, no matter the screen size." CSS variables in Webstudio use the same UI as the rest of your styles, enabling breakpoints to work the same way. ✨ Building with design systems gives a HUGE boost in speed, consistency, and maintainability.

Webstudio

15,496 Aufrufe • vor 1 Jahr