30:08 is a perfect example of why we need the ability to apply multiple classes to a single selector. If you have to copy paste that line multiple times then your html will quickly become hard to maintain. Current syntax: sm:p-4 sm:m-4 sm:top-5 Suggested improvement: sm:(p-4 m-4 top-5)
@IsThisBenton2 жыл бұрын
Came here to say this. Is there plugin for it?
@jjdevcode96352 жыл бұрын
@@IsThisBenton Only Windi css
@PlayWithNiz2 жыл бұрын
@@IsThisBenton This isn't a perfect solution - But I like to use clsx to split out my breakpoint classes so they're easier to manage. On my phone so this won't be perfect, but something like className={clsx('sm:a sm:b', 'md:a2', 'lg:b2')} (prettier will make this look nicer) and similar when using apply directly in a stylesheet, 1 apply per breakpoint
@mrjohn11722 жыл бұрын
you can't put spaces in your classes so it would be like *sm:(p-4_m-4_top-5)* but I would prefer *sm:(p-4,m-4,top-5)* 😜
@jjdevcode96352 жыл бұрын
@@mrjohn1172 windicss.org/features/variant-groups.html, I prefer like wind css
@hamzaabde15952 жыл бұрын
Adam did a great job, but who else misses simon swiss
@rodolfhoazevedo54202 жыл бұрын
Does he left the team?
@JosePerez-qt8cf2 жыл бұрын
@Xagal which is his channel?
@PhongLe892 жыл бұрын
I love Simon😁
@being_aslam_tiger2 жыл бұрын
Me
@MrCC-hx8xr11 ай бұрын
Not bad from Adam but Simon is the best!
@tylerscramble2 жыл бұрын
I can't think of any project that explains their features and updates better than Tailwind. Arbitrary variants are crazy and the examples are immediately relevant to issues we commonly encounter. Thank you to the whole team!
@TailwindLabs2 жыл бұрын
Thank you! 🙌
@minnow1337 Жыл бұрын
@@internet4543 Why don’t you just check github
@universecode11012 жыл бұрын
Hey Adam 😊 Thanks for your amazing job, Tailwind Css is a game changer. As a Js -React developer, it is very difficult to think of a project without Tailwind, so thanks to the whole team 😜✌🏻
@laodemuhammadalfatih76632 жыл бұрын
tailwind is the pioneer. but there's an underdog called unocss with crazy performance and amazing concept.
@jenstornell2 жыл бұрын
@@laodemuhammadalfatih7663 As far as I know Unocss will only work with frameworks like React or Vue, not plain Html? Correct?
@markg59862 жыл бұрын
+1
@yoJuicy2 жыл бұрын
Bro i see you everywhere in the JS/React youtube community. Always positive comments too. Keep it up!👍
@markg59862 жыл бұрын
@@yoJuicy, YOU are making things positive too!
@BarisPalabiyik2 жыл бұрын
Inline selectors is a huge feature actually. Each time you guys surprise us with things we would never think we needed. Keep up.
@MuriJaf Жыл бұрын
I've been using tailwindcss since 2021, and i love it, i've built projects with it, it's amazingggg. Thank you
@lukas.webdev Жыл бұрын
I just posted a video about Tailwind CSS in 2023 - maybe this is also interesting for you. 😉
@kanuos2 жыл бұрын
Arbitrary variants look excellent! Gotta check if we can finally style ::-webkit-slider-thumb within the component using that.
@shadkamel3622 жыл бұрын
Great job, the arbitrary variant is so amazaning, it was something that i wish i could use it ❤️
@GrizhlieCodes2 жыл бұрын
Thanks so much Adam. Arbitrary Variants solve pretty much every and any issue I had left with Tailwind. Man o man.
@FullStackFool2 жыл бұрын
I love the quirkiness of this, Adam - great release vid. Loving these changes too!
@PauloMenezes282 жыл бұрын
Nice features, a good way to easier this custom variants is creating a name in the tailwind.config.js, like "has-backdrop": "@supports(backdrop-filter:blur(0px))" and in the html we say: "hover:bg-white [has-backdrop]: bg-white/25"
@Pepsiaddicto2 жыл бұрын
I believe that has already been possible using the "screen" config.
@synth322 жыл бұрын
or you could just add a custom Variant in the tailwind.config file
@cr0w3122 жыл бұрын
Thanks to you, I haven't written a single line of CSS for 3 years
@ardianfazricom2 жыл бұрын
I am using tailwind from several months ago and I love it. With these features, it will help me a lot. Thank you.
@mryechkin2 жыл бұрын
Best intro ever 😂 Great job guys! Definitely looking forward to utilizing some of these new changes, especially arbitrary variants
@denilsoncosta98372 жыл бұрын
Great job, I'm just waiting for group selectors some thing like hover:{bg-white, text-dark} and {hover, active}:bg-pink. Would be great.
@afifu2 жыл бұрын
No, it will make your CSS size bigger. Imagine you have 4 element with this class: hover:bg-pink active:bg-pink {hover, active}:bg-pink {active, hover}:bg-pink 👆 Will generate 4 class in your CSS. The current feature is just right, you should use it individually: hover:bg-pink active:bg-pink hover:bg-pink active:bg-pink 👆 Only 2 class will be generated
@antoruby2 жыл бұрын
@@afifu that’s right, but the compiler should optimize the class generation to avoid this problem. It doesn’t have to be a burden for the developer.
@tamrat_assefa2 жыл бұрын
The enabled variant is gonna be so useful. All my button components have this weird conditional CSS that adds hover states only if its not disabled. I think the new approach is much cleaner. Nice video and nice update. Thanks Adam and the Tailwind Labs team.
@AllahomAnsorGaza2 жыл бұрын
Great work boss i really love tailwind and it make my life eaiser
@aghileslounis2 жыл бұрын
You are crazy good ! arbitrary variants are just amazing ! thank you for that
@visheshgupta4990 Жыл бұрын
Great Video Interesting and useful and listening all this from the founder of tailwind css loved it 🔥🔥
@lukas.webdev Жыл бұрын
I just posted a video about Tailwind CSS in 2023 - maybe this is also interesting for you. 😉
@zenvibes_hub2 жыл бұрын
Hey adam 😁😁😁 great job, the arbitrary variant is so amazaning
@clearcss33822 жыл бұрын
Amazing updates. Tailwind CSS is definitely changing the game for us mere mortals.
@dancewithakshara092 жыл бұрын
Great keep up the work.arbitary selectors are the biggest game changer
@pavelino172 жыл бұрын
those videos are so great, always mindblown afterwards, keep doing those. and ofc tailwind is great as well ;)
@chrismingay60052 жыл бұрын
Finally! If there's anything Tailwind has been missing it's aggressive undertones in the feature videos.
@juanmacias59222 жыл бұрын
Such a useful video, thanks for all your work on Tailwind 3.1!
@jdlien812 жыл бұрын
Great features, well done video too. Production quality is 👌🏻
@crampssss2 жыл бұрын
I miss Simon 😭
@jackmcdade2 жыл бұрын
So much goodness! I never knew how much i wanted TypeScript Types until now.
@codephilip2 жыл бұрын
15 hours ago? You were definitely the FIRST 😄
@jackmcdade2 жыл бұрын
@@codephilip I'm an overachiever
@phaze72722 жыл бұрын
excited for arbitrary variants!
@kimbapslayer1995 Жыл бұрын
The arbitraty supports class is amazeballs
@oldo-nicho2 жыл бұрын
Great job Adam! Really enjoyed that video
@zohrasabahat2 жыл бұрын
Thank you so much your instructions were so easy to follow !! This helper a lot ❤️
@cotneit2 жыл бұрын
Arbitrary variants are HUGE! I just got into Tailwind a few weeks ago and the lack of something similar really bothered me!
@cintron3d2 жыл бұрын
Amazing improvements!
@chrisnewman66702 жыл бұрын
Can’t wait to try out arbitrary variants. Might turn out to be the best way to override certain 3rd party Angular lib component styles.
@81NARY2 жыл бұрын
One good use case for arbitrary variants is next/image related styles!
@MattChinander2 жыл бұрын
You guys are killing it.
@JeremyJaydan2 жыл бұрын
Abritrary variants look like a great way to handle styles for custom attributes with custom elements!
@gabrielegiannotti28762 жыл бұрын
I was looking for arbitrary variants since forever!
@ayoubMazouz2 жыл бұрын
So Excited!
@rudikurniawan992 жыл бұрын
The arbitrary, so cool
@LinusForsell2 жыл бұрын
Thank you for the update! 🥳 Arbitrary variants are definitely super useful - but things quickly become overly verbose and hard to read when you need to write complex ones over and over. How about chaining utility classes on variants? Something along the lines of [variant-1]:[variant-2]:m-2+p-4+bg-slate-900+text-white This would be useful already when, say, writing a hover variant. E.g. hover:bg-white/50+text-slate-900 Not super clean, but a lot less repetition... No? 🤔
@willvincentparrone33392 жыл бұрын
I just learned tailwind last week and now there's another version. Whawt a chad
@davidwebca2 жыл бұрын
Arbitrary variants are so good for scoping styles! Ex.: A component needs to be styled differently when it's inside sections of the site, etc.
@iknownotwhoiam2 жыл бұрын
Arbitrary variants are gonna be so amazing with Radix UI 😻
@wfl-junior2 жыл бұрын
26:00 YES , Thank you. Finally!
@abdelhameedhamdy2 жыл бұрын
Great release Adam, where is Simon ! 🙂
@CodeAProgram2 жыл бұрын
Every project I am using tailwind css
@juanbaro39242 жыл бұрын
you are amazing ! thanks for that great work
@buddhavskungfu2 жыл бұрын
At this rate, TailwindCSS is going to eliminate the need for creating the Directive file(s). The only files you need to edit is the `tailwind.config.js` file and your project's component's HTML. Of course, you can add custom styles into the config file with the plugin, but it would be nice to add a string to add TailwindCSS classes and pseudo classes like @apply in the directive folder. I'm not sure if it's possible. Example addComponents({ '.card': { tw--apply: " bg-red-100 hover:bg-blue-900". // 👈 borderRadius: '.25rem', boxShadow: '0 2px 4px rgba(0,0,0,0.2)', '&:hover': { boxShadow: '0 10px 15px rgba(0,0,0,0.2)', }, '@media (min-width: 500px)': { tw-apply: "bg-green-500", // 👈 borderRadius: '.5rem', } } })
@benoitleger-derville69862 жыл бұрын
What a job once again! 🤩
@katywings2 жыл бұрын
Giving you a big like for that anarchist spirit at the end 😂
@federicoottavio2 жыл бұрын
Ooooooh i won't struggle anymore with hover on disabled button, thanks!!!
@Mecabricks2 жыл бұрын
Arbitrary variants is for me the best addition to this update.
@nikkoabucejo38862 жыл бұрын
Omg I've been waiting for thiiiis!!! Lols 😂 it's been a whileee
@mahdirezazadeh50762 жыл бұрын
Thanks for your video. 🌷 Just one point I should mention is The font size is too small
@eyalgantz2 жыл бұрын
Packed with so many goodies!
@michaelscofield19702 жыл бұрын
Adam, you saved my life by making tailwind. Plain CSS is garbo
@BrettPeary2 жыл бұрын
Amazing stuff!
@soviut3032 жыл бұрын
I see you using Vite to run the test pages. Excellent choice!
@dian_the_second Жыл бұрын
as a noob, I like the typescript types in the config.js
@RyanMorey12 жыл бұрын
The intro was so chaotic lmao
@rajahutan121342 жыл бұрын
cool, i'm waiting for style the scrollbar in tailwind
@jenstornell2 жыл бұрын
A child selector! 🌟🌟🌟 A brilliant way to solve it with arbitrary variants. The rest of the features are fine I guess but not as revolutionary to my workflow as child selector.
@themarksmith2 жыл бұрын
Love your work!
@vasiovasio2 жыл бұрын
Everything is great, but IF Somehow ( no matter how! ) you can do it, bring Simon back to the channel!
@simonswiss Жыл бұрын
Appreciate the support 🙏
@vasiovasio Жыл бұрын
@@simonswiss I'm glad that you continue to post so much useful content related to Tailwind CSS on your channel! Thank you!
@simonswiss Жыл бұрын
@@vasiovasio My pleasure!
@ajpl872 жыл бұрын
30:50 "because we're psychotic" lmfao XD
@joetrubenstein2 жыл бұрын
Big respect, Adam✊
@oelschlegel2 жыл бұрын
What happened to Simon? JK Adam, good to hear from you. Just a quick tip on recording audio, see if you can find a de-esser plugin to help reduce sibilance ("s"-sounds) as they can get particularly harsh sounding. New update looks great! :)
@cowslaw2 жыл бұрын
Glad to see you filled in the empty space on the left, Adam
@nikstu27922 жыл бұрын
Arbitrary variants🤯👍
@benkrakarwalid60392 жыл бұрын
Great job 🥰
@ericchristian90262 жыл бұрын
Cool new feature!!
@saidjonrko2 жыл бұрын
I am not a front-end developer , but i know css. But i don't like dealing with css files. And i Love tailwindcss Because it lets me control layout right in the html file. i don't have go to css file.
@imsarvesh_2 жыл бұрын
I just loved it.
@JimmyMoCapaldi2 жыл бұрын
Thank you bro !!!
@madebylewis2 жыл бұрын
maybe some `firefox:` and `safari:` variants are needed, to overcome some niche jank you can sometimes come across (not relating to supported properties)
@michaelandreuzza2 жыл бұрын
There's one for blur. Like headless UI is using on the nav. Is a js snippet dropped on the config that detects Firefox and you can use firefox:opacity-100
@peroforrr7663 Жыл бұрын
1year and no one new video :o
@lukas.webdev Жыл бұрын
I don't think that there will be a next video ... But I just posted a video about Tailwind CSS in 2023 - maybe this is also interesting for you. 😉
@peroforrr7663 Жыл бұрын
@@lukas.webdev yes I whated it now, good but the next I request a advenced design techniques video using tailwind css
@anassfiqhi35172 жыл бұрын
Amazing, I Luv it!
@AviNerenberg2 жыл бұрын
What IDE/editor + extension(s) combo are you using to achieve the real time in-editor JSX previews here?
@lucianooliveira24452 жыл бұрын
Tailwind css it's amazing! I love it ❤
@tomlomn5221 Жыл бұрын
nice.
@lukas.webdev Жыл бұрын
I just posted a video about Tailwind CSS in 2023 - maybe this is also interesting for you. 😉
@khauvannam Жыл бұрын
The last feature like scss and I very like it
@Pepsiaddicto2 жыл бұрын
Awesome, but I think the most obvious/common usage of arbitrary variants is when you want to add a lot of different styles to nested components by modifying a data property or class of the root element using javascript. Is it possible to use attribute selectors with these since you'd need brackets? I.E [&[data-is-active]]:bg-red-600? Also being able to apply these to the “group” property would be awesome. I.E “group[.active]:bg-red-600”
@paulkocher27932 жыл бұрын
Amazing! ♥️
@anaycoding65942 жыл бұрын
It's 2022 man how do you not know that
@seamini91722 жыл бұрын
I fuckin' love tailwind! That is all.
@nxshipon64702 жыл бұрын
Thanks you sir
@nicolaskeith89452 жыл бұрын
Adaaaaaaam!!
@kuldeepjaswal46552 жыл бұрын
awesome!
@sijmon200312 жыл бұрын
Awesome !
@tahadlrb72672 жыл бұрын
Add making group of styles feature in different situations: for ex ---> hover:(bg-red-500 text-white font-bold) , i am really wait for it....
@eduardoserrano20152 жыл бұрын
Hey! What VS code theme is that? With the pink selection color? Plssss. Love Tailwindcss btw!
@ZAK432102 жыл бұрын
It's called Skye
@returnZeroo2 жыл бұрын
I really miss Simon on this channel.
@simonswiss Жыл бұрын
I miss it too - It was a lot of fun making videos for my favourite CSS framework and getting paid for it ✨
@myestery2 жыл бұрын
just when I said tailwind was perfect
@GabrielMartinez-ez9ue2 жыл бұрын
Thank you!!
@delisandor5337 Жыл бұрын
I like this guy:)
@linhtutkyaw36752 жыл бұрын
Cool 🔥🔥🔥🔥🔥
@ZyncInteractive2 жыл бұрын
Nice work on 3.1. But what happened to the other guy who used to make these videos?