UDSKRIFT 🔗
WEBVTT
00:00:01.100 --> 00:00:04.150
Hello everyone and welcome to another episode of Code and the Code Encoders.
00:00:04.150 --> 00:00:04.631
Who Code it?
00:00:04.631 --> 00:00:09.151
I'm your host, drew Bragg, and it's my honor today to be joined by Adam Wathen from Tailwind.
00:00:09.151 --> 00:00:14.051
Adam, for anyone who somehow is unfamiliar with you, would you please introduce yourself?
00:00:14.460 --> 00:00:15.121
So I'm Adam.
00:00:15.121 --> 00:00:19.853
I'm the guy who made Tailwind CSS originally way back in 2017.
00:00:19.853 --> 00:00:24.711
So I've been working on Tailwind full-time, I think, since beginning of 2019.
00:00:24.711 --> 00:00:29.830
And over that time we've kind of built up a small team working on it full-time.
00:00:29.830 --> 00:00:30.853
There's like eight of us now.
00:00:30.853 --> 00:00:41.213
So, yeah, day-to-day I'm kind of just like working on Tailwind CSS and supporting the team and exploring different ways that we can improve it and sort of the surrounding ecosystem.
00:00:42.020 --> 00:00:46.112
So, for anyone new to the show, the way this is going to work is I'm going to ask Adam three questions.
00:00:46.112 --> 00:00:49.365
I'm going to ask him what he's working on, what kind of blockers he has.
00:00:49.365 --> 00:00:54.206
If he doesn't have a current blocker, you can talk about the most recent blocker he had and how we went about solving it.
00:00:54.206 --> 00:01:00.805
And then the last question is what's something cool, new or interesting that you've recently learned or discovered coding related?
00:01:00.805 --> 00:01:03.670
But of course this is Code Encoders, so it can be.
00:01:03.670 --> 00:01:11.822
So let's dive in Adam what are you working on?
00:01:11.841 --> 00:01:20.063
Yeah, so it's actually a really big day for us because I think, like half an hour ago, we just shipped like a big rebrand of Tailwind UI, which is like the commercial sort of arm of Tailwind CSS.
00:01:20.063 --> 00:01:29.575
So we renamed that whole product from Tailwind UI to Tailwind Plus with the plan to sort of open up the scope a little bit.
00:01:29.575 --> 00:01:42.013
So, instead of just purely being focused on UI components and templates, which it has in the past, make it something that has some more potential for us to work on other interesting things in that space.
00:01:42.013 --> 00:01:46.212
But it was a really huge project because we had to redesign the whole site.
00:01:46.212 --> 00:01:49.587
We had to get everything working under the new brand.
00:01:49.587 --> 00:02:09.830
One of the motivations for doing it was we didn't want to have two separate domains anymore, so we wanted to have everything hosted on TailwindCSScom so that when someone searches for Tailwind Navbar, for example, we get the domain authority of the actual Tailwind domain instead of having to compete on this like fresh domain.
00:02:09.830 --> 00:02:13.566
So that's kind of like the biggest thing that we just shipped today.
00:02:13.659 --> 00:02:26.748
But also, at the exact same time, I just launched this little mini course that I've been working on for the past couple of weeks, which is another kind of marketing related project, but I put together this thing that I called build UIs that Don't Suck.
00:02:26.748 --> 00:02:41.719
So it's like six videos where I kind of find a little common lack of polish error detail mistake that I see people make in different common UI patterns and walk through some sort of different ways of solving it, which was pretty fun to put together.
00:02:41.719 --> 00:02:47.966
So we kind of finished that officially like on Friday I think and pushed that up today too.
00:02:47.966 --> 00:03:00.128
The goal is to sort of use it to sort of build up some trust and authority with, like people who maybe are new to Tailwind and get people more interested in some of the commercial stuff, because maybe they'll think I've learned a lot here.
00:03:00.229 --> 00:03:01.481
These guys really know what they're doing.
00:03:01.481 --> 00:03:08.405
I'll probably get a lot of value out of, like all these pre-built components and stuff like that to have all this same level of attention and detail put into it.
00:03:08.405 --> 00:03:16.127
But even for people who aren't ever going to be potential customers, hopefully it's still just a cool resource where they can learn some interesting stuff.
00:03:16.127 --> 00:03:20.711
So, yeah, big shipping day for us today, good timing.
00:03:20.711 --> 00:03:24.264
Yeah, all that stuff just went live in the last half hour.
00:03:24.264 --> 00:03:28.829
So we're watching the server logs and the Twitter comments and stuff.
00:03:28.829 --> 00:03:30.531
We haven't even announced it on Twitter yet.
00:03:30.531 --> 00:03:33.634
We're kind of just like putting it out quietly to see what's broken first.
00:03:33.634 --> 00:03:34.836
So that's what we've been up to.
00:03:36.199 --> 00:03:36.599
Big day for Tailwind.
00:03:36.599 --> 00:03:45.471
I mean, there's so many aspects, I guess, of Tailwind, like you have the code and the actual CSS, but then Tailwind Plus, your product, and now you're doing video course.
00:03:45.471 --> 00:03:49.695
How do you guys decide what to do next to enhance the Tailwind brand?
00:03:55.620 --> 00:04:00.659
Yeah, I think generally we've kind of seesawed back and forth between open source improvements and then stuff on the commercial side, to make sure that the open source stuff is still sustainable.
00:04:00.659 --> 00:04:04.546
So we just released Tailwind 4 in January still sustainable.
00:04:04.546 --> 00:04:15.712
So we just released Tailwind 4 in January and that was a big year-long project basically, where we've been very focused on that and haven't really been able to put a lot of effort into anything on the commercial side that whole time.
00:04:15.712 --> 00:04:21.574
So it definitely felt like time to circle back and breathe some new life into the commercial stuff.
00:04:21.574
Load full transcript
--> 00:04:33.492
And I think we have a little bit more of that to do going forward and I've spoken about this on my own podcast too where the revenue and stuff for us has been starting to shrink a little bit too.
00:04:34.442 --> 00:04:51.807
So we've had to prioritize the business a little bit more than we have in the past and think a bit more strategically about what do we need to do to actually get things growing again, whereas in the past things have just worked out and with no effort and we've just been able to kind of do whatever we wanted, which we certainly didn't take for granted.
00:04:51.807 --> 00:04:55.350
But we're definitely having to think a bit more strategically and put some systems in place.
00:04:55.350 --> 00:05:02.711
So that was kind of the motivation for doing the email course if we can find some new customers for Tailwind Plus there.
00:05:02.711 --> 00:05:11.399
So now we're probably going to continue investing a bit more into that side of things and make sure that it still feels kind of fresh and stuff.
00:05:11.399 --> 00:05:14.170
So that's kind of like our immediate motivations.
00:05:14.439 --> 00:05:22.687
But eventually we're definitely going to start to feel like, okay, it's been a while since there's been a Tailwind release, got to kind of keep the energy up there too.
00:05:22.687 --> 00:05:29.454
So it's generally just been kind of like a lot of seesawing between those two sort of focuses at the business.
00:05:29.454 --> 00:05:36.593
So it's definitely business season right now and I'm sure probably come the fall we'll be hardcore back in open source season.
00:05:36.593 --> 00:05:39.528
We do have some open source stuff we want to work on at the same time.
00:05:39.528 --> 00:05:41.882
That is kind of like supporting the commercial stuff.
00:05:41.882 --> 00:05:46.350
That's kind of the best place to be, I find, is when we can find something to do.
00:05:46.350 --> 00:05:50.142
That lets us push both things forward at the same time, but not always the case.
00:05:50.142 --> 00:05:52.911
But yeah, that's kind of how we're thinking about things right now anyways.
00:05:53.720 --> 00:05:59.802
I guess the first question actually should be did you see Tailwind becoming a business in 2017 when you first started it?
00:05:59.862 --> 00:06:08.694
No, the goal of releasing Tailwind in the first place was actually more of like an engineering as marketing thing for another business I was trying to build.
00:06:08.694 --> 00:06:11.249
So I was working on like a checkout platform.
00:06:11.249 --> 00:06:19.093
I'd been selling courses and books online and I kind of just wanted to build exactly what I wanted to be able to sell that stuff.
00:06:19.093 --> 00:06:30.380
So I started working on that and I was live streaming my work on it and everyone was really interested in what I was doing for styling things, which caught me by surprise because I hadn't really thought too much of it.
00:06:30.380 --> 00:06:32.887
It was just like really early version of Tailwind.
00:06:32.887 --> 00:06:43.735
Before I would have ever called it a framework, I thought of it as just like custom CSS, but I was just using a lot of utility classes and then, because so many people were interested in it, I decided to open source it and the name Tailwind comes from.
00:06:43.735 --> 00:06:48.468
The original app was called Kite Tail, so I called it Tailwind, so it would like be tied into that.
00:06:48.468 --> 00:06:54.321
The goal was make that open source project popular, to bring awareness to like the product that it was sort of extracted from.
00:06:54.321 --> 00:06:59.213
But yeah, eventually I just like abandoned that and Tailwind became a business instead.
00:06:59.680 --> 00:07:02.805
Yeah, but it was never the intention for Tailwind itself to become the business.
00:07:02.846 --> 00:07:10.966
It didn't really become clear that that was the thing to do until, I would say, late 2018, right around the time me and Steve released the Refactoring UI book.
00:07:11.307 --> 00:07:32.814
Tailwind had gotten quite popular already and there's already a lot of established paths for that type of tool to have a business built around it, like Bootstrap, heather Theme Store sites like Theme Forest were really big, so it felt like we could build some stuff like that and find a way to finance the work on Tailwind that way, because that was really the goal.
00:07:32.814 --> 00:07:34.360
My goal has never been to build a business.
00:07:34.360 --> 00:07:41.605
My goal has just been to have the freedom to work on whatever I want, and the thing I liked working on the most was Tailwind.
00:07:41.605 --> 00:07:55.016
So finding some way to work on Tailwind as much as possible was definitely the goal, and that's the path that we took, and it's definitely gotten bigger than I ever anticipated, both as an open source project and as a business.
00:07:55.016 --> 00:08:06.033
I don't think I ever expected to have a team of people like we have now Admittedly a small team, but still I never imagined in my life I would be an employer, so it's pretty wild, preston.
00:08:06.053 --> 00:08:06.175
Pyshko.
00:08:06.175 --> 00:08:18.038
That is very cool to go from I'm working on one project to I'm going to open source a part of that one project to now it's my full-time job and I employ people yeah for sure A little daunting, I guess too at times.
00:08:18.079 --> 00:08:24.350
If you've never really planned on having employees and now you suddenly do, that's a whole new world outside of engineering.
00:08:24.350 --> 00:08:29.968
So Tailwind wasn't ever necessarily supposed to be a business, but eventually it did.
00:08:29.968 --> 00:08:32.898
You wanted to make enough money to be able to work on it full time.
00:08:32.898 --> 00:08:40.710
So how do the various ideas I mean I guess the Tailwind UI would now is Tailwind Plus as a given, because that's how other models do it?
00:08:40.710 --> 00:08:44.201
Is that the
only way you guys are making money with Tailwind?
00:08:44.201 --> 00:08:45.484
Yeah, I mean effectively.
00:08:45.725 --> 00:08:49.100
We still sell, like Refractoring UI, the book I wrote with Steve.
00:08:49.100 --> 00:08:53.298
That's like an asset within the same business, so that also contributes.
00:08:53.298 --> 00:08:56.847
It's like a smaller percentage for sure, but that's kind of it.
00:08:56.847 --> 00:09:01.164
So that's something I think we want to figure out how to expand in the future.
00:09:01.164 --> 00:09:07.245
I mean kind of probably tying into the perfect answer to your next question, like the blockers question.
00:09:07.245 --> 00:09:08.788
Let's do it.
00:09:09.075 --> 00:09:09.476
Yeah.
00:09:09.636 --> 00:09:18.341
I don't know if this is quite a blocker in the sense of how maybe other people would answer this question in a more technical sense, but definitely like a challenge we're constantly facing.
00:09:18.341 --> 00:09:42.038
That I still just feel like I haven't cracked, is just trying to figure out, is like there's something we could do for businesses, because I feel like we have this weird reverse business where we make our money selling a product to I wouldn't say consumers, but they're like individuals, so like hobbyist prosumer types, people who buy Tailwind UI for side projects and stuff like that.
00:09:42.038 --> 00:09:42.981
That's the bulk of it.
00:09:42.981 --> 00:10:10.870
We also do sell team licenses, but I think our biggest Tailwind CSS users actually don't buy Tailwind UI or Tailwind Plus because they have big teams of designers and they want to build their own design systems, so they don't really need the development of Tailwind.
00:10:10.870 --> 00:10:19.438
For companies like OpenAI and Shopify to use the Tailwind as an open source tool you know which kind of feels like a little bit backwards.
00:10:19.438 --> 00:10:40.152
So it'd be cool to find some sort of way Like I'm always just trying to think like what is the obvious thing that I'm missing that we could do that'd be valuable for these bigger companies that depend on the open source stuff, and even just thinking about like, how can we diversify the product lineup, because it is sort of crazy that we just depend on selling this one thing.
00:10:40.152 --> 00:10:42.919
That's a one-time purchase with like lifetime access.
00:10:42.919 --> 00:10:47.318
There's just zero recurring revenue, even though revenue is quite stable and predictable.
00:10:47.318 --> 00:10:56.557
But that's why we're experimenting with this email course as maybe a way to increase the conversion rate or bring more awareness to the product from the same traffic that we already have.
00:10:56.557 --> 00:10:59.707
Because the Tailwind CSS website.
00:10:59.707 --> 00:11:04.344
It gets an insane amount of traffic because people are just going to the docs and stuff like that.
00:11:04.344 --> 00:11:14.166
I think if you told any hardcore internet marketer person the amount
of traffic that we get there compared to the revenue that we make, they would be I don't know.
00:11:14.166 --> 00:11:20.306
I believe that someone who knows what they're doing could turn that traffic into a much bigger business than what we have.
00:11:20.595 --> 00:11:32.207
Probably in ways that I wouldn't really be that excited about Selling dick enlargement pills and stuff like that, that type of thing, that level of shadiness.
00:11:32.207 --> 00:11:39.325
But that's something that's on my mind a lot generally and something like I'm trying to think through a lot this year is just like, what else can we do?
00:11:39.325 --> 00:11:50.682
Especially, what else can we do without it being a too big of a distraction from the open source stuff, because I think continuing to improve that's really important for the business, but also that's like where we have the most fun.
00:11:50.682 --> 00:12:01.638
And if this becomes something that's really important for the business but also that's like where we have the most fun, and if this becomes something that's not really fun anymore because we're too hyper-focused on trying to make the business work, that just doesn't feel like a success to me, even if it's financially successful.
00:12:02.340 --> 00:12:09.802
So yeah, like we tried doing a job board and that didn't really work, because I don't think people really identify as, like, tailwind developers.
00:12:09.802 --> 00:12:17.886
I think like it's not like the core part of your stack, like being a rails developer or a laravel developer or a react developer or something.
00:12:17.886 --> 00:12:23.057
It's just kind of a tool that everyone uses on the side, but it's not a job title, which was kind of a bummer.
00:12:23.057 --> 00:12:26.215
I thought that would have been cool if that worked out, but didn't really work out.
00:12:26.215 --> 00:12:38.350
But thankfully, like tailwind ui slash tailwind plus pays the bills, happily, but that's just a constant thing I'm trying to crack is what else is out there for us as a business?
00:14:00.184 --> 00:14:02.372
How do you go about coming up with those ideas?
00:14:02.372 --> 00:14:14.808
Are you just going off on your own and thinking maybe this would work, or are you looking at how other projects and teams subsidize open source work, or you work with someone who just is brilliant marketer or something.
00:14:14.828 --> 00:14:16.754
Yeah, I would say a few different things.
00:14:16.754 --> 00:14:20.031
One is just sitting around and thinking really hard.
00:14:20.031 --> 00:14:33.548
Sometimes you come up with ideas that way, definitely just paying attention to all the inputs that you have as you just live your life and noticing what are people doing in totally different industries.
00:14:33.548 --> 00:14:35.709
Is there anything to be learned from this?
00:14:35.709 --> 00:14:40.312
Just like running a small business like ours, you just start to think about things differently.
00:14:40.312 --> 00:14:50.560
Even when you go to the coffee shop there's like my local coffee shop for the longest time, if you wanted to use their debit machine or tap to pay, they couldn't accept tips on there.
00:14:50.560 --> 00:14:52.403
They could only accept tips in cash.
00:14:52.403 --> 00:15:00.817
And it's like man, this is like your lowest hanging fruit at the whole business is to replace this machine because everyone is paying with their card and now no one can tip you.
00:15:00.817 --> 00:15:02.929
You just start noticing things like that.
00:15:02.969 --> 00:15:08.150
But I would say I do have a good, solid network of friends that I like to bounce ideas off of.
00:15:08.150 --> 00:15:18.796
I try to organize at least one get-together a year where we'll fly somewhere with some people that I really respect and we just talk business for three days.
00:15:18.796 --> 00:15:20.428
Those kind of really deep things.
00:15:20.428 --> 00:15:22.475
We always come out of that with some good ideas.
00:15:22.475 --> 00:15:28.997
I think a surprising one for me is I actually get a lot of ideas from giving advice to other people.
00:15:28.997 --> 00:15:32.754
It kind of just flips things around and I don't know.
00:15:32.754 --> 00:15:37.831
It's really easy to fix other people's businesses and hard to fix your own.
00:15:37.831 --> 00:15:43.634
But sometimes you'll fix something for someone else and realize I just told this guy to do this and we're not doing that.
00:15:43.634 --> 00:15:56.156
And that's where the idea for this email course came from was talking to somebody else and suggesting you should do some sort of lead magnet on your website so you can pitch this thing to people more easily and I was like wait a minute, like we don't even do that.
00:15:56.156 --> 00:15:56.826
What are we doing?
00:15:57.406 --> 00:15:59.070
light bulb, that's cool.
00:15:59.070 --> 00:16:01.935
Yeah, I like the giving advice to others.
00:16:01.935 --> 00:16:06.132
Yielding the light bulb moment for you of like that was a great idea.
00:16:06.132 --> 00:16:09.962
I just gave wire 100 this idea.
00:16:09.962 --> 00:16:10.865
That's awesome.
00:16:10.865 --> 00:16:13.247
The other thing that you mentioned was Tailwind.
00:16:13.247 --> 00:16:16.490
V4 just came out, big project for you guys.
00:16:16.490 --> 00:16:19.670
Two questions what's your favorite part of V4?
00:16:19.670 --> 00:16:22.546
Like your favorite change and what was the most challenging part?
00:16:22.625 --> 00:16:29.582
I think my favorite user facing thing is the CSS based configuration.
00:16:29.582 --> 00:16:43.395
So we used to have this JavaScript configuration file where you configure all your custom colors and breakpoints and all sorts of stuff, and in V4, we've kind of figured out how to express all that stuff in CSS instead, which I think was a weird change for a lot of people.
00:16:43.395 --> 00:17:02.577
But I think most people who have tried it definitely prefer it, because before you had
to have a CSS file anyways and some things you kind of had to like do half of it in the JavaScript file, half of it in CSS file, like if you're adding a custom font, you'd add the custom font in your JavaScript file as part of like your design system in terms of like naming and stuff.
00:17:02.577 --> 00:17:06.452
But you still had to add like the CSS font face rule to your CSS file.
00:17:06.452 --> 00:17:10.377
So things were kind of just like spread around but by doing it all on the CSS file.
00:17:10.438 --> 00:17:16.251
Now it's like one less file that you have to have and I kind of like the limitations it puts on you too.
00:17:16.251 --> 00:17:19.097
You can't do like loops and crazy stuff.
00:17:19.097 --> 00:17:31.739
It forces you to be simpler, which is something I appreciate more and more as I age Just like the simplest, least clever stuff that I can just come back to in six months and understand right away.
00:17:31.739 --> 00:17:33.655
I don't know, that's kind of like my jam.
00:17:34.190 --> 00:17:35.875
The simplicity that I can read later on.
00:17:35.915 --> 00:17:39.274
It's sort of boring, but I know the older you get, the nicer.
00:17:39.274 --> 00:17:51.078
Like a nice little for loop looks over a chain of flat maps and whatever, and I wrote a whole book on how excited I was about those topics years ago, but I would say that's like my favorite user facing feature.
00:17:51.078 --> 00:17:58.440
I'm equally excited about just the fact that we rewrote the entire thing from scratch, though, and the code base makes sense because it didn't used to.
00:17:58.440 --> 00:18:17.756
It was just like bandaid after bandaid painting on top of old paint trying to like patch things up, and once you've worked on it for years and years and years, years, you just start to like have a better mental model of like what the system needs to do and getting a chance to just like write code that actually expresses that properly.
00:18:17.756 --> 00:18:25.441
It's nice to be proud of the code base again, because it had really spiraled into like chaos in terms of like most challenging thing.
00:18:25.441 --> 00:18:26.243
I'm trying to think it.
00:18:27.033 --> 00:18:27.454
Generally.
00:18:27.454 --> 00:18:39.834
It feels like we had like a working prototype that was basically good enough for us to use in a month, starting from scratch, and then it took 11 months until it was ready to actually release.
00:18:39.834 --> 00:18:43.259
A lot of it is quirky edge cases.
00:18:43.259 --> 00:19:45.881
Our Vite plugin has been quite difficult to get right because we think it works and then someone opens a bug report that it doesn't work in Astro, because Astro actually runs two V builds and because there's two separate processes they can't talk to each other, so half the classes end up missing in the production build of the CSS file.
00:19:45.881 --> 00:19:48.619
Like you know, weird stuff like that.
00:19:48.619 --> 00:20:06.166
There was a lot of challenges
around just designing some of the CSS based APIs and there's still like at least one feature I can think of from v3 that we don't have support for before yet because of just not being able to design the right API for it that can be expressed in CSS yet.
00:20:06.166 --> 00:20:14.530
So that's been some really challenging stuff, stuff.
00:20:14.550 --> 00:20:23.681
Probably the biggest grind of the whole thing was updating the entire documentation website, because it seemed like it shouldn't have been a big project because it's all so templated, but still somehow it was an enormous effort.
00:20:23.681 --> 00:20:31.892
That took like six people on the team working full time on it for like two months, because we basically had compete with MDN in terms of like content.
00:20:31.892 --> 00:20:39.400
Every CSS property has a page and all of it needs to be gone through and make sure it still makes sense with the changes and stuff like that.
00:20:39.400 --> 00:20:49.036
So it was a big project overall and we're still kind of ironing out some of the wrinkles, issues that people are raising and stuff.
00:20:49.036 --> 00:21:01.460
But it's feeling pretty good right now and it's nice to be able to work on some new stuff for a change, because once you're deep into something for a year, it doesn't matter how fun and how excited you are about it.
00:21:01.460 --> 00:21:03.458
It becomes a death march eventually.
00:21:04.791 --> 00:21:26.636
The one thing that I guess in my adventures in CSS land and I am a full stack engineer, but I err more towards the back end of things the thing that always makes me beat my head against the wall with CSS is like what browsers do and don't support things, and I think it's gotten a little bit better now that IE isn't a thing anymore, but Safari sometimes bites me in the ass.
00:21:26.636 --> 00:21:36.151
But how do you guys in that being your main thing, how do you keep on top of that or know when it's appropriate to use x, y or z a?
00:21:36.171 --> 00:21:37.474
couple different factors.
00:21:37.474 --> 00:21:38.717
So there's this website.
00:21:38.717 --> 00:21:45.379
Can I usecom, which is really great for just yeah, I live there checking which browsers support different css features.
00:21:45.840 --> 00:21:52.672
So, yeah, I'm on there all the time trying to get data about really modern features and where they're supported and stuff like that.
00:21:52.672 --> 00:21:58.060
In terms of adding stuff to Tailwind, it depends on the impact of the change.
00:21:58.060 --> 00:22:02.610
So with v4, for example, we depend on some pretty modern CSS features.
00:22:02.610 --> 00:22:08.200
Like add property is a very new way of like declaring typed CSS custom properties.
00:22:08.200 --> 00:22:30.853
The whole framework like just simply won't work if the browser doesn't support that feature, because it's like underpins a lot of different things in Tailwind and we also use the color mix function to be able to change the alpha value of colors at runtime in the browser instead of having to compute it at build time, which lets us adjust the transparency of CSS variable-based colors or the current color keyword and stuff like that.
00:22:30.853 --> 00:22:34.622
So that's another feature that touches a lot of the framework.
00:22:34.622 --> 00:22:42.779
So for stuff like that, we're pretty careful about making sure we're comfortable with the browser support, and Tailwind 4 is pretty aggressive in that sense.
00:22:42.779 --> 00:22:50.041
It only supports like Safari 16.4 and up, which is like a two-year-old version of Safari or two and a half-year-old version of Safari.
00:22:50.041 --> 00:22:55.242
So I would say that's still too cutting edge for like a lot of people.
00:22:55.242 --> 00:22:59.361
But we only do like a new major version of Tailwind every three to four years.
00:22:59.361 --> 00:23:10.022
So we try in the very early minor patch releases of a new major version to be pretty aggressive so that the shelf life of that major version is quite long.
00:23:10.022 --> 00:23:21.102
So we don't have to like release V5 until whatever 2028 or something at this point, and by then everyone will be totally fine with the browsers that are being targeted by v4.
00:23:21.102 --> 00:23:24.296
It was the same thing with v2 and v3.
00:23:24.296 --> 00:23:29.995
I think it was v2 that started depending on CSS variables, which at the time was controversial.
00:23:29.995 --> 00:23:31.699
But now it's like are you kidding me?
00:23:31.699 --> 00:23:34.655
What world are you building for where you can't use CSS variables?
00:23:34.655 --> 00:23:37.602
So we're always like on the bleeding edge with that stuff.
00:23:37.602 --> 00:23:52.017
But then there's a lot of other CSS features that only surface in Tailwind through like an individual utility class, like TextRap Balance and TextRap Pretty are pretty modern CSS features that I'm not sure if Firefox supports TextRap Balance.
00:23:52.017 --> 00:23:56.255
There's at least one browser that doesn't support text wrap pretty still, and I can't remember which one it is.
00:23:56.255 --> 00:24:11.773
But for those particular CSS features, even if you use them, if the browser doesn't support it, it'll just gracefully degrade to just not wrapping nicely and now you'll have an orphaned word instead of your headline being balanced.
00:24:12.195 --> 00:24:13.159
Site's not broken.
00:24:13.159 --> 00:24:16.096
Maybe the design isn't exactly what you want, but it's not broken.
00:24:16.096 --> 00:24:21.516
And even for the stuff that like would be broken, you still get to choose whether to use it or not.
00:24:21.516 --> 00:24:32.281
So if there's a feature that's only supported by Chrome, well, maybe you just like can't use that utility if you're building something for the web, but if you're building an electron app, like, you can't because that's only Chrome anyways.
00:24:32.281 --> 00:24:51.282
Or you're building an internal thing where you
know like, yeah, we all use chrome at work for our dashboard, or there might be a feature that is supported by the very bleeding edge version of all three browsers and you just know that your audience is going to use those browsers, so you just don't care, so you can use it.
00:24:51.631 --> 00:25:04.430
The other reason we try to support, like really modern features in tailwind is just so that if someone wants to play with a new css feature, they don't have to like go use vanilla css to do it, if they're using tailwind all the time anyways.
00:25:04.430 --> 00:25:14.126
So even if you can't use it in a site, it's nice that you can play with it and learn how it works so that, like, you're aware of it and can use it when it is like more available.
00:25:14.126 --> 00:25:19.650
So, yeah, we're not very conservative, I guess is the point when it comes to like including features in tailwind.
00:25:19.650 --> 00:25:27.617
And that, I think, has paid off, because if you compare us to like bootstrap, for example, bootstrap has always been a lot more conservative where it was.
00:25:27.677 --> 00:25:46.631
Only in the past couple years, I think, that their grid has been moved to css grid instead of Flexbox because they just want to make sure it works for everybody, which is like a totally noble, valid perspective and point of view, and that's kind of the path that they chose, which I think is, again, a totally valid one.
00:25:46.631 --> 00:26:04.632
We kind of picked the opposite one, which is to just like let people do whatever they want and thankfully, because it's a utility framework where everything is so low level, we can support those things without it raising the browser requirements for everyone, whereas Bootstrap can't do that For them.
00:26:04.632 --> 00:26:06.479
They're building abstractions on top of things.
00:26:06.479 --> 00:26:09.955
In Tailwind, you can build a Flexbox grid or a CSS-based grid.
00:26:09.955 --> 00:26:10.477
It's up to you.
00:26:10.477 --> 00:26:17.632
Just pick the Flexbox utilities or pick the grid utilities, but in Bootstrap it's call spin whatever.
00:26:17.632 --> 00:26:25.398
You don't know under the hood what they're using, you just know that you want a grid, so it makes sense that they're more conservative there, because they want to make sure that it works for more people right?
00:26:25.890 --> 00:26:26.493
Yeah, cool.
00:26:26.493 --> 00:26:40.262
Like I said, slightly more on the back end of things, so don't envy any of that, but it is cool to hear how much like even CSS has those same like how do we balance this and how do we make this decision versus that decision?
00:26:40.262 --> 00:26:54.523
Because I think some people do just download bootstrap and they're just like oh, I have a card, I'm done, I don't need to think about anything else, it's easy for us to take for granted to like just like how deeply and intimately familiar we are with, like what's happening with CSS and what browser support and stuff.
00:26:54.924 --> 00:27:03.138
And I think we could do a better job in our docs surfacing on different pages like what is safe to use and what browsers and stuff like that for sure.
00:27:03.138 --> 00:27:12.917
Because, yeah, a lot of people they just see a feature, oh yeah, this solves my problem and it works in my browser and don't even really think about checking the browser support.
00:27:13.290 --> 00:27:14.874
Yeah, just have to have a little link to can.
00:27:14.874 --> 00:27:19.346
The last question in the show format.
00:27:19.346 --> 00:27:24.909
I'm sure I will ask you something else too, but it is my favorite because I get such a wide variety of answers.
00:27:24.909 --> 00:27:29.331
What is something cool, new or interesting that you want to share with the audience?
00:27:29.681 --> 00:27:39.450
Yeah, so I think the thing that I've been kind of like really pumped about the last couple of weeks is because I was recording that video course.
00:27:39.450 --> 00:28:05.807
I've been really jazzed about trying to get my office set up and gear set up, upgraded so that I could actually do on camera stuff, cause I come from the era of rails cast and destroy all software, where a screencast was just a recording of your screen and audio track in the background and that used to be good enough, you know but in this day and age, everyone wants the fancy on camera, highly produced video stuff.
00:28:05.868 --> 00:28:10.264
So I've done a little bit of it in the past but was never really super happy with the results.
00:28:10.264 --> 00:28:15.403
So that's something I've been like super nerding out about and getting into.
00:28:15.403 --> 00:28:18.651
So I did a bunch of work in my office.
00:28:18.651 --> 00:28:26.952
I went and bought some fake plants and put up these like acoustic panels behind me and hung a bunch of more acoustic panels around the room.
00:28:26.952 --> 00:28:47.588
I bought this like fancy Audio-Technica shotgun mic that's like out of frame right now but sounds pretty good for being out of frame, I think and upgraded my camera to this like crazy Sonyx3 camera with this fancy lens and I know this is a podcast, so no one else can see what I'm saying but it looks really good.
00:28:47.628 --> 00:28:50.463
Yeah, it looks like figuring out all the lighting has been fun.
00:28:50.463 --> 00:29:04.431
I really wanted it to look like daylight in my office, not like dark mode gamer room vibe that so many people go for on youtube, where everything's black with neon lights and stuff and that's really tricky to nail.
00:29:04.431 --> 00:29:10.104
So I still have natural light coming into my office but it's very hard to control.
00:29:10.104 --> 00:29:23.883
So I bought this other big light and this giant soft box that's four feet by three feet so I can totally black out the windows and put that where the window is and try to simulate like what the light coming from the window would look like.
00:29:23.883 --> 00:29:29.474
I saw
Steve Tenuto who does video stuff with Aaron Francis.
00:29:29.474 --> 00:29:34.661
I don't know if you're familiar with him, but he posted like a cool picture of his setup the other day.
00:29:34.661 --> 00:29:53.062
The windows behind him in his garage he like put LED lights that were the same size as the windows outside of his house pointing into the windows and the pictures he took are in like 9pm at night but it looks like daytime because there's like this bright LED light coming through those windows and I got excited about that because I was like man.
00:29:53.062 --> 00:30:11.427
I've always been trying to crack this look of making it look like it's daytime in the office and looking at his, I was thinking, man, I think like one of the secrets here is like seeing a window, because, like it's just subconsciously, if you see a window and light is coming through the window, you just believe it's day.
00:30:11.427 --> 00:30:14.366
And if there's no windows in this shot, then it's hard to know.
00:30:14.366 --> 00:30:24.314
Now I don't have any windows in this shot, but I was looking into like getting like a fake led window that I could put on the wall like behind me, so you could see it like a little bit in the corner.
00:30:24.314 --> 00:30:30.892
Ultimately I figured out that it still just like works out, I think, as long as, like there is some natural light.
00:30:30.892 --> 00:30:32.600
But I'm looking forward to playing with that other light.
00:30:32.600 --> 00:30:44.788
And in some of the test shots we were doing, just having like really overexposed sections helps even to like if it looks like there's a really bright light shining on your desk and there's like a section that's like basically white and you can't see anything.
00:30:44.788 --> 00:30:50.445
It's another just like trick that like tricks your mind into thinking there's like some bright light coming through the window or something.
00:30:50.445 --> 00:31:03.282
So that's been like my world for the last like couple weeks is just like nerding out about camera gear and lighting and Steve, my business partner, came by for like a full day to like set everything up with me, which was fun.
00:31:03.623 --> 00:31:08.283
I don't know, you have to put things in the weirdest places for it to like look good on camera.
00:31:08.283 --> 00:31:19.104
Like my monitor is not in the middle of my desk, it's like shifted way to the front of my desk and it's not straight, it's like angled, because that's what was needed to make it look straight on the camera.
00:31:19.104 --> 00:31:24.725
And like the pictures on the wall are probably not at the right height that they should be for just a room.
00:31:24.725 --> 00:31:32.910
We just like sat here and like looked at the camera and just moved the pictures until they like looked like a good spot, stuff like that.
00:31:32.910 --> 00:31:47.409
So none of it makes any sense in the room, but it looks good on camera and it's just a fun thing to sort of learn about lighting and gear and playing around with stuff, just like a new thing to geek out about.
00:31:47.409 --> 00:31:50.929
So yeah, that's what I've been deep into recently.
00:31:51.611 --> 00:31:52.052
There you go.
00:31:52.052 --> 00:31:54.308
I feel like everyone finds something like that.
00:31:54.308 --> 00:31:57.911
Some people geek out about fonts and they're always rotating their fonts.
00:31:57.911 --> 00:32:01.587
Some people do it with keyboards, you do it with camera and lighting gear.
00:32:01.587 --> 00:32:07.050
It also plays a part in your business, so it's all right, that's for sure, for sure.
00:32:07.050 --> 00:32:07.972
Very cool.
00:32:07.972 --> 00:32:15.566
Well, I greatly appreciate you spending time, taking time out of your day to come on the show and talk about Tailwind and your adventures with it.
00:32:15.566 --> 00:32:17.841
Is there anything else you wanted to talk about before we wrap?
00:32:17.961 --> 00:32:18.081
up.
00:32:18.081 --> 00:32:22.449
No man, I mean happy to answer any other questions, but yeah, I'm glad that we could do this finally.
00:32:22.449 --> 00:32:24.733
I know we've been trying to like make it happen for a while.
00:32:24.733 --> 00:32:35.545
We're having some issues with my power going out and in the middle of calls and stuff like that, but glad we can finally do it today and I think probably it worked out for the best because I got had more interesting stuff to talk about now that I did then.
00:32:35.545 --> 00:32:38.112
Anyways, but yeah, I appreciate your patience.
00:32:42.940 --> 00:32:44.207
No, that's cool and you had a huge day for you, for sure.
00:32:44.207 --> 00:32:50.308
And the nice thing about the show format is the next time you guys do something cool tailwind we can have you on the show to talk about it again, it's always what are you working on?
00:32:50.308 --> 00:32:53.583
So I guess, as a wrap up, where can people find you?
00:32:53.583 --> 00:32:55.668
And tailwind on the internet.
00:32:55.688 --> 00:32:57.352
So tailwind is just tailwindcsscom.
00:33:04.060 --> 00:33:06.445
Best place to find me is on Twitter or X, whatever we call it now, Just X dot com slash Adam Watham, Cool man.
00:33:06.445 --> 00:33:10.461
I again greatly appreciate your time and looking forward to having you on again.
00:33:10.502 --> 00:33:11.768
Thanks, man, I really appreciate you.
00:33:11.929 --> 00:33:12.411
The invite?
00:33:12.411 --> 00:33:15.566
Yeah, absolutely, and, listeners, we'll see you in the next episode.
00:33:15.566 --> 00:33:16.309
Bye.