What's new in Tailwind CSS v3.1?

  Рет қаралды 120,955

Tailwind Labs

Tailwind Labs

Күн бұрын

Пікірлер: 252
@dawidwraga
@dawidwraga 2 жыл бұрын
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)
@IsThisBenton
@IsThisBenton 2 жыл бұрын
Came here to say this. Is there plugin for it?
@jjdevcode9635
@jjdevcode9635 2 жыл бұрын
@@IsThisBenton Only Windi css
@PlayWithNiz
@PlayWithNiz 2 жыл бұрын
@@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
@mrjohn1172
@mrjohn1172 2 жыл бұрын
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)* 😜
@jjdevcode9635
@jjdevcode9635 2 жыл бұрын
@@mrjohn1172 windicss.org/features/variant-groups.html, I prefer like wind css
@hamzaabde1595
@hamzaabde1595 2 жыл бұрын
Adam did a great job, but who else misses simon swiss
@rodolfhoazevedo5420
@rodolfhoazevedo5420 2 жыл бұрын
Does he left the team?
@JosePerez-qt8cf
@JosePerez-qt8cf 2 жыл бұрын
@Xagal which is his channel?
@PhongLe89
@PhongLe89 2 жыл бұрын
I love Simon😁
@being_aslam_tiger
@being_aslam_tiger 2 жыл бұрын
Me
@MrCC-hx8xr
@MrCC-hx8xr 11 ай бұрын
Not bad from Adam but Simon is the best!
@tylerscramble
@tylerscramble 2 жыл бұрын
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!
@TailwindLabs
@TailwindLabs 2 жыл бұрын
Thank you! 🙌
@minnow1337
@minnow1337 Жыл бұрын
@@internet4543 Why don’t you just check github
@universecode1101
@universecode1101 2 жыл бұрын
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 😜✌🏻
@laodemuhammadalfatih7663
@laodemuhammadalfatih7663 2 жыл бұрын
tailwind is the pioneer. but there's an underdog called unocss with crazy performance and amazing concept.
@jenstornell
@jenstornell 2 жыл бұрын
@@laodemuhammadalfatih7663 As far as I know Unocss will only work with frameworks like React or Vue, not plain Html? Correct?
@markg5986
@markg5986 2 жыл бұрын
+1
@yoJuicy
@yoJuicy 2 жыл бұрын
Bro i see you everywhere in the JS/React youtube community. Always positive comments too. Keep it up!👍
@markg5986
@markg5986 2 жыл бұрын
@@yoJuicy, YOU are making things positive too!
@BarisPalabiyik
@BarisPalabiyik 2 жыл бұрын
Inline selectors is a huge feature actually. Each time you guys surprise us with things we would never think we needed. Keep up.
@MuriJaf
@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
@lukas.webdev Жыл бұрын
I just posted a video about Tailwind CSS in 2023 - maybe this is also interesting for you. 😉
@kanuos
@kanuos 2 жыл бұрын
Arbitrary variants look excellent! Gotta check if we can finally style ::-webkit-slider-thumb within the component using that.
@shadkamel362
@shadkamel362 2 жыл бұрын
Great job, the arbitrary variant is so amazaning, it was something that i wish i could use it ❤️
@GrizhlieCodes
@GrizhlieCodes 2 жыл бұрын
Thanks so much Adam. Arbitrary Variants solve pretty much every and any issue I had left with Tailwind. Man o man.
@FullStackFool
@FullStackFool 2 жыл бұрын
I love the quirkiness of this, Adam - great release vid. Loving these changes too!
@PauloMenezes28
@PauloMenezes28 2 жыл бұрын
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"
@Pepsiaddicto
@Pepsiaddicto 2 жыл бұрын
I believe that has already been possible using the "screen" config.
@synth32
@synth32 2 жыл бұрын
or you could just add a custom Variant in the tailwind.config file
@cr0w312
@cr0w312 2 жыл бұрын
Thanks to you, I haven't written a single line of CSS for 3 years
@ardianfazricom
@ardianfazricom 2 жыл бұрын
I am using tailwind from several months ago and I love it. With these features, it will help me a lot. Thank you.
@mryechkin
@mryechkin 2 жыл бұрын
Best intro ever 😂 Great job guys! Definitely looking forward to utilizing some of these new changes, especially arbitrary variants
@denilsoncosta9837
@denilsoncosta9837 2 жыл бұрын
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.
@afifu
@afifu 2 жыл бұрын
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
@antoruby
@antoruby 2 жыл бұрын
@@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_assefa
@tamrat_assefa 2 жыл бұрын
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.
@AllahomAnsorGaza
@AllahomAnsorGaza 2 жыл бұрын
Great work boss i really love tailwind and it make my life eaiser
@aghileslounis
@aghileslounis 2 жыл бұрын
You are crazy good ! arbitrary variants are just amazing ! thank you for that
@visheshgupta4990
@visheshgupta4990 Жыл бұрын
Great Video Interesting and useful and listening all this from the founder of tailwind css loved it 🔥🔥
@lukas.webdev
@lukas.webdev Жыл бұрын
I just posted a video about Tailwind CSS in 2023 - maybe this is also interesting for you. 😉
@zenvibes_hub
@zenvibes_hub 2 жыл бұрын
Hey adam 😁😁😁 great job, the arbitrary variant is so amazaning
@clearcss3382
@clearcss3382 2 жыл бұрын
Amazing updates. Tailwind CSS is definitely changing the game for us mere mortals.
@dancewithakshara09
@dancewithakshara09 2 жыл бұрын
Great keep up the work.arbitary selectors are the biggest game changer
@pavelino17
@pavelino17 2 жыл бұрын
those videos are so great, always mindblown afterwards, keep doing those. and ofc tailwind is great as well ;)
@chrismingay6005
@chrismingay6005 2 жыл бұрын
Finally! If there's anything Tailwind has been missing it's aggressive undertones in the feature videos.
@juanmacias5922
@juanmacias5922 2 жыл бұрын
Such a useful video, thanks for all your work on Tailwind 3.1!
@jdlien81
@jdlien81 2 жыл бұрын
Great features, well done video too. Production quality is 👌🏻
@crampssss
@crampssss 2 жыл бұрын
I miss Simon 😭
@jackmcdade
@jackmcdade 2 жыл бұрын
So much goodness! I never knew how much i wanted TypeScript Types until now.
@codephilip
@codephilip 2 жыл бұрын
15 hours ago? You were definitely the FIRST 😄
@jackmcdade
@jackmcdade 2 жыл бұрын
@@codephilip I'm an overachiever
@phaze7272
@phaze7272 2 жыл бұрын
excited for arbitrary variants!
@kimbapslayer1995
@kimbapslayer1995 Жыл бұрын
The arbitraty supports class is amazeballs
@oldo-nicho
@oldo-nicho 2 жыл бұрын
Great job Adam! Really enjoyed that video
@zohrasabahat
@zohrasabahat 2 жыл бұрын
Thank you so much your instructions were so easy to follow !! This helper a lot ❤️
@cotneit
@cotneit 2 жыл бұрын
Arbitrary variants are HUGE! I just got into Tailwind a few weeks ago and the lack of something similar really bothered me!
@cintron3d
@cintron3d 2 жыл бұрын
Amazing improvements!
@chrisnewman6670
@chrisnewman6670 2 жыл бұрын
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.
@81NARY
@81NARY 2 жыл бұрын
One good use case for arbitrary variants is next/image related styles!
@MattChinander
@MattChinander 2 жыл бұрын
You guys are killing it.
@JeremyJaydan
@JeremyJaydan 2 жыл бұрын
Abritrary variants look like a great way to handle styles for custom attributes with custom elements!
@gabrielegiannotti2876
@gabrielegiannotti2876 2 жыл бұрын
I was looking for arbitrary variants since forever!
@ayoubMazouz
@ayoubMazouz 2 жыл бұрын
So Excited!
@rudikurniawan99
@rudikurniawan99 2 жыл бұрын
The arbitrary, so cool
@LinusForsell
@LinusForsell 2 жыл бұрын
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? 🤔
@willvincentparrone3339
@willvincentparrone3339 2 жыл бұрын
I just learned tailwind last week and now there's another version. Whawt a chad
@davidwebca
@davidwebca 2 жыл бұрын
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.
@iknownotwhoiam
@iknownotwhoiam 2 жыл бұрын
Arbitrary variants are gonna be so amazing with Radix UI 😻
@wfl-junior
@wfl-junior 2 жыл бұрын
26:00 YES , Thank you. Finally!
@abdelhameedhamdy
@abdelhameedhamdy 2 жыл бұрын
Great release Adam, where is Simon ! 🙂
@CodeAProgram
@CodeAProgram 2 жыл бұрын
Every project I am using tailwind css
@juanbaro3924
@juanbaro3924 2 жыл бұрын
you are amazing ! thanks for that great work
@buddhavskungfu
@buddhavskungfu 2 жыл бұрын
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-derville6986
@benoitleger-derville6986 2 жыл бұрын
What a job once again! 🤩
@katywings
@katywings 2 жыл бұрын
Giving you a big like for that anarchist spirit at the end 😂
@federicoottavio
@federicoottavio 2 жыл бұрын
Ooooooh i won't struggle anymore with hover on disabled button, thanks!!!
@Mecabricks
@Mecabricks 2 жыл бұрын
Arbitrary variants is for me the best addition to this update.
@nikkoabucejo3886
@nikkoabucejo3886 2 жыл бұрын
Omg I've been waiting for thiiiis!!! Lols 😂 it's been a whileee
@mahdirezazadeh5076
@mahdirezazadeh5076 2 жыл бұрын
Thanks for your video. 🌷 Just one point I should mention is The font size is too small
@eyalgantz
@eyalgantz 2 жыл бұрын
Packed with so many goodies!
@michaelscofield1970
@michaelscofield1970 2 жыл бұрын
Adam, you saved my life by making tailwind. Plain CSS is garbo
@BrettPeary
@BrettPeary 2 жыл бұрын
Amazing stuff!
@soviut303
@soviut303 2 жыл бұрын
I see you using Vite to run the test pages. Excellent choice!
@dian_the_second
@dian_the_second Жыл бұрын
as a noob, I like the typescript types in the config.js
@RyanMorey1
@RyanMorey1 2 жыл бұрын
The intro was so chaotic lmao
@rajahutan12134
@rajahutan12134 2 жыл бұрын
cool, i'm waiting for style the scrollbar in tailwind
@jenstornell
@jenstornell 2 жыл бұрын
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.
@themarksmith
@themarksmith 2 жыл бұрын
Love your work!
@vasiovasio
@vasiovasio 2 жыл бұрын
Everything is great, but IF Somehow ( no matter how! ) you can do it, bring Simon back to the channel!
@simonswiss
@simonswiss Жыл бұрын
Appreciate the support 🙏
@vasiovasio
@vasiovasio Жыл бұрын
@@simonswiss I'm glad that you continue to post so much useful content related to Tailwind CSS on your channel! Thank you!
@simonswiss
@simonswiss Жыл бұрын
@@vasiovasio My pleasure!
@ajpl87
@ajpl87 2 жыл бұрын
30:50 "because we're psychotic" lmfao XD
@joetrubenstein
@joetrubenstein 2 жыл бұрын
Big respect, Adam✊
@oelschlegel
@oelschlegel 2 жыл бұрын
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! :)
@cowslaw
@cowslaw 2 жыл бұрын
Glad to see you filled in the empty space on the left, Adam
@nikstu2792
@nikstu2792 2 жыл бұрын
Arbitrary variants🤯👍
@benkrakarwalid6039
@benkrakarwalid6039 2 жыл бұрын
Great job 🥰
@ericchristian9026
@ericchristian9026 2 жыл бұрын
Cool new feature!!
@saidjonrko
@saidjonrko 2 жыл бұрын
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_
@imsarvesh_ 2 жыл бұрын
I just loved it.
@JimmyMoCapaldi
@JimmyMoCapaldi 2 жыл бұрын
Thank you bro !!!
@madebylewis
@madebylewis 2 жыл бұрын
maybe some `firefox:` and `safari:` variants are needed, to overcome some niche jank you can sometimes come across (not relating to supported properties)
@michaelandreuzza
@michaelandreuzza 2 жыл бұрын
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
@peroforrr7663 Жыл бұрын
1year and no one new video :o
@lukas.webdev
@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
@peroforrr7663 Жыл бұрын
@@lukas.webdev yes I whated it now, good but the next I request a advenced design techniques video using tailwind css
@anassfiqhi3517
@anassfiqhi3517 2 жыл бұрын
Amazing, I Luv it!
@AviNerenberg
@AviNerenberg 2 жыл бұрын
What IDE/editor + extension(s) combo are you using to achieve the real time in-editor JSX previews here?
@lucianooliveira2445
@lucianooliveira2445 2 жыл бұрын
Tailwind css it's amazing! I love it ❤
@tomlomn5221
@tomlomn5221 Жыл бұрын
nice.
@lukas.webdev
@lukas.webdev Жыл бұрын
I just posted a video about Tailwind CSS in 2023 - maybe this is also interesting for you. 😉
@khauvannam
@khauvannam Жыл бұрын
The last feature like scss and I very like it
@Pepsiaddicto
@Pepsiaddicto 2 жыл бұрын
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”
@paulkocher2793
@paulkocher2793 2 жыл бұрын
Amazing! ♥️
@anaycoding6594
@anaycoding6594 2 жыл бұрын
It's 2022 man how do you not know that
@seamini9172
@seamini9172 2 жыл бұрын
I fuckin' love tailwind! That is all.
@nxshipon6470
@nxshipon6470 2 жыл бұрын
Thanks you sir
@nicolaskeith8945
@nicolaskeith8945 2 жыл бұрын
Adaaaaaaam!!
@kuldeepjaswal4655
@kuldeepjaswal4655 2 жыл бұрын
awesome!
@sijmon20031
@sijmon20031 2 жыл бұрын
Awesome !
@tahadlrb7267
@tahadlrb7267 2 жыл бұрын
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....
@eduardoserrano2015
@eduardoserrano2015 2 жыл бұрын
Hey! What VS code theme is that? With the pink selection color? Plssss. Love Tailwindcss btw!
@ZAK43210
@ZAK43210 2 жыл бұрын
It's called Skye
@returnZeroo
@returnZeroo 2 жыл бұрын
I really miss Simon on this channel.
@simonswiss
@simonswiss Жыл бұрын
I miss it too - It was a lot of fun making videos for my favourite CSS framework and getting paid for it ✨
@myestery
@myestery 2 жыл бұрын
just when I said tailwind was perfect
@GabrielMartinez-ez9ue
@GabrielMartinez-ez9ue 2 жыл бұрын
Thank you!!
@delisandor5337
@delisandor5337 Жыл бұрын
I like this guy:)
@linhtutkyaw3675
@linhtutkyaw3675 2 жыл бұрын
Cool 🔥🔥🔥🔥🔥
@ZyncInteractive
@ZyncInteractive 2 жыл бұрын
Nice work on 3.1. But what happened to the other guy who used to make these videos?
@hamitaksln
@hamitaksln 2 жыл бұрын
23:31 Was it really 'badass"? :D
What's new in Tailwind CSS v3.0?
26:33
Tailwind Labs
Рет қаралды 183 М.
Building a command palette with Tailwind CSS, React, and Headless UI
38:00
КОГДА К БАТЕ ПРИШЕЛ ДРУГ😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 7 МЛН
When mom gets home, but you're in rollerblades.
00:40
Daniel LaBelle
Рет қаралды 149 МЛН
Perfect Pitch Challenge? Easy! 🎤😎| Free Fire Official
00:13
Garena Free Fire Global
Рет қаралды 81 МЛН
Tailwind V4 Is Bigger Than Expected 👀
20:07
Theo - t3․gg
Рет қаралды 124 М.
I WISH I Knew These Tailwind Tips Earlier
9:15
Theo - t3․gg
Рет қаралды 195 М.
The Advanced TailwindCSS Crash Course
37:39
Tom Is Loading
Рет қаралды 17 М.
Tailwind, utility-first css-фреймворк
1:25:39
От 0 до 1
Рет қаралды 12 М.
What's New in Tailwind CSS v2.2
21:21
Tailwind Labs
Рет қаралды 51 М.
Angular Crash Course | Learn modern Angular in 90 minutes
1:29:09
Code with Ahsan
Рет қаралды 10 М.
Just-In-Time: The Next Generation of Tailwind CSS
13:18
Tailwind Labs
Рет қаралды 159 М.
Sorting Tailwind CSS Classes Automatically with Prettier
10:00
Tailwind Labs
Рет қаралды 89 М.