Tailwindcss opened the idea that you can actually do css yourself. You don't have to live inside the bootstrap box and now you are able to look outside. Adam is the man!
@perfect.stealth4 жыл бұрын
You always could.
@NortheastGamer4 жыл бұрын
Extract components, not classes: 4:29 No Sass? No problem: 9:55 Use SVG like it's going out of style: 13:55 Don't be afraid to extend the framework: 20:02 Prefer inline styles to weird custom classes: 25:27 Remove unused classes with Purgecss: 28:48
@maxgeorgopoulos35164 жыл бұрын
Tailwind is so powerful. I now do 90% of my design with tailwind (10% in Figma)
@olivierbassin2865 жыл бұрын
Adam is such an upbeat dude, listening to him always helps me find motivation for anything.
@brandon50585 жыл бұрын
Olivier Bassin me too! After listening to this talk i finally survived no nut november
@nicolaskeith88724 жыл бұрын
"Beautiful blob, designed by my beautiful friend Steve." Oh, Adam, you keep me young
@luismoriguerra6693 жыл бұрын
tailwind is an API for your design system, and only that makes it amazing 👏️
@sivuyilemagutywa52865 жыл бұрын
Ever since I started using Tailwind, I actually enjoy CSS, Easy to customize the framework
@Andrey-il8rh3 жыл бұрын
The great talk I stumbled upon only now. It's really nice to see how much Tailwind evolved over these 2 years and some of the stuff such as long compilation times, "no animations", not able to apply arbitrary values per breakpoint, html duplications just for responsive reasons, all of this stuff is no longer the case in the new version of Tailwind and each day some new improvement is on the horizon. Great work, Gendalf Adam! 🧙🏻♂️
@mischl15 жыл бұрын
@AdamWathan Thanks for giving us a bit of insight into how you work! Awesome talk!
@cyberloh4 жыл бұрын
this guy rocks! for the whole my life i hated css before finding tailwind
@BibeshManandhar4 жыл бұрын
The second last trick is awesome. Actually the whole video is awesome 😍😍
@DrewRoberts5 жыл бұрын
I'm allergic to CSS, but Tailwind CSS does not have those same side effects. Once you get over having hundreds of class names, you will love your new allergy free lifestyle. I highly recommend checking it out if you're on the fence with utility-first CSS frameworks.
@insanecuckooman83424 жыл бұрын
how id using hundreds of class names, better than just using css. tailwind is inline css with extra steps.
@Andrey-il8rh3 жыл бұрын
@@insanecuckooman8342 you should really think about changing profession, they say that rolling burgers is still in high demand
@tamrat_assefa2 жыл бұрын
That SVG trick was neat. ViewBox is the boss!
@heyjordn4 жыл бұрын
This talk was so awesome!
@thekwoka47073 жыл бұрын
The second to last point about inline styles isn't an issue anymore with the JIT module for Tailwind. You can put arbitrary values on the normal class name with breakpoints and whatever however you want.
@versastudio91985 жыл бұрын
Excellent talk, super helpful.
@himbary4 жыл бұрын
He is such a cool guy
@tcindie5 жыл бұрын
What is the browser/tool in use next to the IDE with the breakpoints/etc built in? Is that a vscode plugin? Would love to find this is looks incredibly useful
@drehimself5 жыл бұрын
sizzy.co
@LenWoodward5 жыл бұрын
When we was alt-tabbing it looked to me like it called Sizzy. I defs paused to write it down. In some of his other screencasts he's used a chromium based browser named Polypane as well.
@tcindie5 жыл бұрын
Thanks guys. :)
@mikeyura3 жыл бұрын
What is that browser he's using?
@sebastiangon113 жыл бұрын
It's Sizzy
@iamthekingofchoco2 жыл бұрын
@@sebastiangon11 arrrgh it’s paid
@jantube3582 жыл бұрын
@@iamthekingofchoco woah $499 for a one-time purchase is a no
@delulu69693 жыл бұрын
The diagonal shape can be done with clip-path much easier and appropriate. I use Tailwind but for that kind of customization it's better to include plain CSS.
@michaelwarren21003 жыл бұрын
How do you ensure the blob goes behind the image and the text?
@hellobye90493 жыл бұрын
position: absolute and a low z-index if you need it. example using tailwind classes " "
@jma422 жыл бұрын
Does 11:12 solve the class naming problem like css modules does?
@ashleyredman5 жыл бұрын
Generally I don't usually go to use purge css incase of removing styles that are on events or not active on a build, but I guess with tailwind is more or less everything is applied through a class or inline then it makes much more sense, will try this out! Thanks
@Andrey-il8rh3 жыл бұрын
no need for it since v2 JIT
@anstapol3 жыл бұрын
How you deal with code splitting? Or you just loading all of your style on all pages?
@Andrey-il8rh3 жыл бұрын
since in most cases purged tailwindcss version is no more than 10kb gzipped there is no special reason to split it in chunks. You can just inline it in head and view it as critical css
@mohammadpartovi18135 жыл бұрын
Fantastic!
@atomtopa4 жыл бұрын
I am finally sold.
@RandomGuy16065 жыл бұрын
I can actually get design feedback building the actual html/css with tailwind and hot reloading than I can building the design mocks in Figma or Sketch
@maxgeorgopoulos35164 жыл бұрын
Same here. Since using tailwind, I do 90% of my designing in HTML&CSS.
@rolanddecasa44384 жыл бұрын
yeah ur right man! love tailwind 27:15
@ProgrammingwithPeter5 жыл бұрын
Great talk, i'm thinking of using Tailwind on my youtube series .
@ekmanhsieh5 жыл бұрын
Nice vidoe!Has anyone can tell me, right side of screen software or extension is?
@script70855 жыл бұрын
sizzy
@gitarthakashyap85194 жыл бұрын
Apply 5:37
@tanzimibthesam58615 жыл бұрын
So no more Bootstrap?
@КонстантинС-ж1ы5 жыл бұрын
I think bootstrap is a great choice when you need to build something fast and don't care about custom design. But when your project requires unique design, tailwind will better imho.
@Booyamakashi5 жыл бұрын
@@КонстантинС-ж1ы Yep. Exactly.
@med50325 жыл бұрын
@@КонстантинС-ж1ы Not really. fast = tailwind.
@JohnSmith-zl8rz4 жыл бұрын
Bootstrap always was shit!
@Andrey-il8rh3 жыл бұрын
Bootstrap can't be compared to TW it's like bananas and marshmallow
@anticom13375 жыл бұрын
Does anyone know what this browser preview thing is on the right side of his screen?
@luthfitriatmaja37095 жыл бұрын
That's Sizzy
@anticom13375 жыл бұрын
@@luthfitriatmaja3709 Thanks!
@ahmadkhudai4 жыл бұрын
@@luthfitriatmaja3709 thank you! I was going to ask the same thing
@kevinnacario3594 жыл бұрын
the best
@ramazanaktas36994 жыл бұрын
Which editor is he using?
@dwainetrain4 жыл бұрын
Looks like VS Code. For the screen on the right, I think he's using Sizzy. sizzy.co/
@ramazanaktas36994 жыл бұрын
@@dwainetrain Thanks for your comment, and I checked out Sizzy. It really looks useful but I found prices expensive. I just wondered that live preview, and found an extension called Browser Preview and will preview mobile just through a Chromium-based browser. Thanks again. Edit: Somehow, it doesn't work, maybe I got something wrong.
@699088g4 жыл бұрын
@@ramazanaktas3699 its just a split view mode in macOs
@MrAtomUniverse4 жыл бұрын
5:40 isn't this like CSS
@Rendxn4 жыл бұрын
Yes, but you are using the @apply directive to apply tailwind classes inside your btn class
@designdust4 жыл бұрын
@@Rendxn well then just use raw CSS or SASS instead of bombarding your markup with @apply directive.
@gustavovasquezveliz70464 жыл бұрын
@@designdust @apply may be the awful thing of tailwind, but using it does not mean you will need to remove tailwind and go for raw css
@andresfrr1003 жыл бұрын
It´s a BEM murder.
@rajeevdsamuel3 жыл бұрын
If you want a front-end developer job you are still going to have to learn css
@trkishh3 жыл бұрын
You have to learn CSS first before you can even use Tailwind. You have to know CSS before you can utilize or know what any of the classes do.
@uxcoda88065 жыл бұрын
Awesome talk but duplicating an SVG instead of creating a custom class to handle media queries. That's sacrilege!
@Booyamakashi5 жыл бұрын
Sara Soudain, SVG guru, tweeted recently that she is inlining 99% of the times.
@ClintonGreen775 жыл бұрын
@@Booyamakashi yeah I'm totally for inlining SVGs. I just can't get behind duplicating an SVG to look different on different breakpoints. That goes against responsive design.
@med50325 жыл бұрын
gzip, my friend. duplication there is sound and sensible.
@ClintonGreen775 жыл бұрын
@@med5032 Yeah gzip is the shizz. Good idea.
@IfanIqbal4 жыл бұрын
I think Adam just want to show us that specific use case when we could only inlining styles. Tailwind CSS itself has responsive utility for size and position. Maybe, he decided not to demonstrate it for a reason.
@PrinjuVaidyan3 жыл бұрын
I think this is making html very vague
@madsouris3 жыл бұрын
it feels like writing XAML in a way, but it's class instead of attribute.. Bad idea for static HTML and CSS writing, but best idea imo when we start using component and don't repeat ourselves.
@noobslayer92913 жыл бұрын
bruh its just bootstrap and no brainer
@Andrey-il8rh3 жыл бұрын
kzbin.info/www/bejne/nHOnmpmLn7OtmLM
@perfect.stealth4 жыл бұрын
I don't understand what the hype is about. It really doesn't solve any problem
@scriptkeeper82433 жыл бұрын
faster and smarter, CSS is probably the most illogical way of doing anything TW seems to help move it into being more organized.
@klarnorbert3 жыл бұрын
@@32fw34dgasdfg Sass and Less already solved those problems. You don't need a single CSS framework these days.
@xucongzhan91513 жыл бұрын
@@klarnorbert Not really. With SASS and Less, you still have to intentionally build out your utilities manually. It's much much more work. It's essentially building your own CSS framework. And more often than not, people just get lazy and fall back to those semantic CSS class names like confirmation-modal-body/reset-password-modal-body, etc. and define margins/paddings/font-sizes manually in those classes. 24px here and 20px there. Those are hardly any better than using plain CSS. Maybe nesting? I've worked on projects with SASS and Less, and no they are not as convenient, at all.
@klarnorbert3 жыл бұрын
@@xucongzhan9151 Sure, you're right. But those css prepocessors solved the issues with scalability and maintainablity. Sure, you need to wrote your own "framework", but it's really easy to do these days with grid and flexbox. Bootstrap solved issues when there was no grid and flexbox. Btw who still using pixels? lmao Also there's BEM, that you can use to name your classes.
@Andrey-il8rh3 жыл бұрын
@@klarnorbert what if I tell you that all of these fancy tools are not needed when you have TW?