正在加载视频...

视频加载失败

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

86,923 次观看 • 1 年前 •via X (Twitter)

8 条评论

port 的头像
port1 年前

how tf did u draw this

Ben Holmes 的头像
Ben Holmes1 年前

😏

Prasenjit 的头像
Prasenjit1 年前

CSS is now a programming language.

Carl(it)os Capote 🇮🇨 的头像
Carl(it)os Capote 🇮🇨1 年前

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

Mr Ally 🤗 的头像
Mr Ally 🤗1 年前

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

cor 的头像
cor1 年前

great QoL improvement

Web Reaper | Website Engineer 的头像
Web Reaper | Website Engineer1 年前

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; }

Allan Pichardo 的头像
Allan Pichardo1 年前

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

相关视频

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 次观看 • 1 年前