In this video, we'll build the KZbin thumbnail you just clicked on, from scratch, using Tailwind CSS. Tailwind Play: play.tailwindcss.com/sQlxw7MlB2
Пікірлер: 92
@valtism2 жыл бұрын
Appreciate that you've included accessibility into this as a demonstration of best practice even though it isn't needed here specifically.
@Delba2 жыл бұрын
Of course the Tailwind thumbnails are actually built with Tailwind! 🔥
@simonswiss2 жыл бұрын
They're typically built with Figma, but definitely using Tailwind "design tokens" for colors, spacing, font sizes etc, which made that video really straightforward to make 🙌
@Dave-oi4fx2 жыл бұрын
@@simonswiss it's a joke lmao
@simonswiss4 күн бұрын
Don't mind me re-watching my own videos 2 years later, and being in awe of how cool they are 👁👄👁
@adeyudhapratama43142 жыл бұрын
I'm a backend and really interest with frontend after watching all video from this channel, cool
@bakiwebdev2 жыл бұрын
i never get bored with tailwind CSS, Thank you so much
@can-genc2 жыл бұрын
Why learn photoshop when you can just use tailwind at this point, amazing work as always
@cool14tsanzol2 жыл бұрын
I have been using Tailwind CSS in the past few projects. It is really a very good tool for fast front-end development. Now I do not want to use any other front-end UI frameworks. I built the whole project with less than 100 lines of custom CSS. Thanks to the tailwind CSS team.
@wasimshahzad27204 ай бұрын
I'm assuming that tailwind only provides the layout and some general design classes. Other than that any specific designs or layouts will require custom css & js. For example horozontal layouts etc. Also I want to know that all these tailwind classes need to be memorized? If yes then how and from where, as a backend dev.
@faldikn2 жыл бұрын
Tailwind is great, but...this guy is AMAZING 🌟
@MistaT442 жыл бұрын
No words! Absolutely amazing
@yesayasoftware2 жыл бұрын
Your doing a great job, your content is great and fun at the same time.
@lucasfranzolin2 жыл бұрын
i absolutely love this channel!!
@deephousefridays19112 жыл бұрын
This was amazing, learned a lot! Thanks
@simonswiss2 жыл бұрын
Glad to hear it's helpful!
@himanshusrivastava9312 жыл бұрын
This guy is lit🔥
@sasicodes2 жыл бұрын
Amazing video, as usual 🔥
@ngechumungai84202 жыл бұрын
Master at work 🔥
@aliftaufikhurrahmataminudd90402 жыл бұрын
It even includes some insight of creating element that's sr friendly
@vinsonyung5372 жыл бұрын
No question this guy is professional in Tailwindcss :)
@HelloWorld-fg2nm2 жыл бұрын
Wow I learned a lot from this video, well done!
@ebouls92102 жыл бұрын
Voilà ! Super vidéo comme d’habitude merci beaucoup
@QueeeeenZ2 жыл бұрын
You're watching a master at work!
@rojonali33742 жыл бұрын
You are really the fun guy.
@dibbyo456 Жыл бұрын
This is sick. ❤🔥
@simonswiss Жыл бұрын
Honestly this was of the most fun videos I put together - really enjoyed that one!
@aliwolfi8162 жыл бұрын
just the 'broop' word XD you're amazing man
@mukut5ul2 жыл бұрын
Great video
@barbapapazes2 жыл бұрын
Whooo amazing!
@wahyusa2 жыл бұрын
Thank you! that is so inspiring
@CARUSAR212 жыл бұрын
Fantastic like always
@EricTirado2 жыл бұрын
I would have never thought of making a youtube video thumbnail with code. ^_^
@spicybaguette77062 жыл бұрын
About the triangle not being centered, I believe centering works by centering the box around the triangle/svg. Because the center of mass of the triangle differs from the center of mass of the box containing it, it looks kinda wierd, because the center of mass of the triangle isn't actually in the center of the circle
@aguspray2 жыл бұрын
Your explaination is very clear! Please make video about tailwind best practice, such as mobile first and etc 😀
@technical1572 жыл бұрын
i love your videos. please dont stop making them.
@simonswiss4 күн бұрын
I never wanted to stop!
@tahak74112 жыл бұрын
This is cool af
@yo14142 жыл бұрын
Awesome - Thank you!
@md.najmulhasan87742 жыл бұрын
wow it's amazing 👍
@amirrahman8532 жыл бұрын
after using tailwing i really dont find anyother library usefull near to it for me tailwind is the only library i will only use for design
@ShajidHasan2 жыл бұрын
Great video Simon!
@simonswiss2 жыл бұрын
Thanks! 🙏
@pavanakumardr1522 жыл бұрын
Productivity and freedom tailwind
@jagjens2 жыл бұрын
Gonna use the concept to build nice images and be more visual on twitter 😄
@deekshantwadhwa2 жыл бұрын
This is what is known as "Going Meta".
@justingolden212 жыл бұрын
Awesome video, shows how easy it is to design and mockup with tailwind! How do you export it to an image easily? Also, highly recommend not using those little "aha" sound effects towards the end, very weird and jarring.
@simonswiss2 жыл бұрын
I pasted my screenshot in the "preview" app, and saved the image 👍 You can also paste it in Figma, Slack, Notion, anything that accepts a "paste" of an image. Re: fun little sound effects - it's indeed likely weird, but I like to experiment with some fun things and keep viewers surprised. I promise I won't take it toooo far.
@ahmedutuber2 жыл бұрын
nice 👍
@sornt2 жыл бұрын
Great!!!
@mohamedyoussef8835 Жыл бұрын
Awesome video +++++++++++++++++ 😃
@simonswiss Жыл бұрын
✨✨✨✨✨✨✨✨✨✨✨
@TimKariuki2 жыл бұрын
I wish I could become this good in Tailwind.
@simonswiss2 жыл бұрын
Practice makes perfect, keep at it!
@baneneba34772 жыл бұрын
it has very good documentation and easy to learn
@ibnelaiq2 жыл бұрын
Protect him he is a GEM
@iDarthGigi2 жыл бұрын
Could you share the Visual Studio Code settings, plugins and themes that are being used in these videos?
@narendrapatwardhan682 жыл бұрын
I really loved these thumbnails so I kinda recreated them in Canva for non-commercial (personal) use. But this is great! If coupled with CSS variables, we can automate the creation using Puppeteer.
@simonswiss2 жыл бұрын
Haha yep this is exactly what I was thinking of after editing the video - would be cool to feed some data to a script that generates those with puppeteer 👍
@tobiassteckenborn58272 жыл бұрын
Wouldn't it be possible to use Playwright, for example, to actually output a png from this? I would be really curious to see some kind of PDF output of Tailwind styled pages using Playwright or similar.
@manuelcardona9112 жыл бұрын
👌👌👌
@nzube2 жыл бұрын
👌👌👌👏🏼👏🏼👏🏼
@eminalizade89982 жыл бұрын
Why not gap instead of space at 3:30?
@dmarksbarber2 жыл бұрын
What is the VS Code extension for HTML preview? There's a few but I'm not sure any of them are any good
@Protoscribe2 жыл бұрын
Is the w-[640px] for example built into Tailwind now or is it a plugin/customization? I think it is really cool and will help me for sure with some projects
@Protoscribe2 жыл бұрын
Ah it was mentioned later in the video. Are they fixed sizes or can you put any sizes in?
@Kiliman39702 жыл бұрын
It's part of Tailwind CSS JIT mode. It allows you to use arbitrary values in addition to the default design system. tailwindcss.com/docs/just-in-time-mode#arbitrary-value-support
@Protoscribe2 жыл бұрын
@@Kiliman3970 Appreciate that info. I use Tailwind with JIT on all my SvelteKit projects and never thought of adding arbitrary values like that which would have been great because there has been many a times I've made a specific class just for arbitrary sizes...
@Protoscribe2 жыл бұрын
@@Kiliman3970 It even takes hex colors, definitely a great thing
@simonswiss2 жыл бұрын
@@Protoscribe You can put any size, it's called "arbitrary value" support. It's really powerful, but I'd try to stick to the Tailwind config values in general for design consistency, and only use "magic numbers" for specific situations.
@Balance-82 жыл бұрын
How would you export this to a PDF?
@andyjeffries2 жыл бұрын
Why do you use grid over flex for vertically centering the play button? Also, why ring over border? Just trying to get a handle on when to use them when it seems you could achieve it either way?
@Kiliman39702 жыл бұрын
Grid and flex can both vertically center, and now that grid is available in all browsers, it's mostly a personal preference. Grid is actually shorter using `grid place-items-center` vs `flex justify-center items-center` As for ring vs border, the default box-sizing in Tailwind is 'border-box', so using border will affect the height/width of the content. With ring, it wraps around the content, so is probably better for things like icons where you don't want to affect the size. Also, you can use ring-offset to give space between content and ring. I created an example here: play.tailwindcss.com/iz6rCSLraX
@andyjeffries2 жыл бұрын
@@Kiliman3970 Awesome reply, thank you!
@elenadomingos76322 жыл бұрын
Hello. In which version the w-[230px] is avalible? For me it doesn't work.
@felixmilome2 жыл бұрын
does tailwind work on opera mini?
@sounak20092 жыл бұрын
Hey! Could you please reply- what was the *w-[640px]* class?
@thevividversatilechannel48072 жыл бұрын
Just In Time (JIT) mode arbitary value inside square brackets for a custom value. CSS generated is `width: 640px;` Thank you very much
@ESC.eatsleepcode2 жыл бұрын
Can anyone please tell me what is aria-hidden here in div? Thanx in advance.
@helitonnordt7992 жыл бұрын
You need to be a hater to dislike this video. Great video production, code and explanation.
@yusha7908 ай бұрын
brooowp brooowp xd
@himanshusrivastava9312 жыл бұрын
Can anyone tell me which preview extension he is using? 🙄
@Dave-oi4fx2 жыл бұрын
I'm waiting for someone to answer this.....
@TailwindLabs2 жыл бұрын
It's a custom one we built for ourselves just for these screencasts. Wouldn't be good enough for real work, but it's good enough for us 👍🏻
@dinhkhanh2 жыл бұрын
You can try HTML Preview, or Preview
@Dave-oi4fx2 жыл бұрын
@@dinhkhanh or vscode Live Preview too
@larrasu2 жыл бұрын
@@TailwindLabs Would it be possible to integrate Tailwind Play as a VS Code extension?
@andresdosantos53102 жыл бұрын
I just wanted to know the name of the font you use