Building a YouTube Thumbnail with Tailwind CSS

  Рет қаралды 27,837

Tailwind Labs

Tailwind Labs

2 жыл бұрын

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
@valtism
@valtism 2 жыл бұрын
Appreciate that you've included accessibility into this as a demonstration of best practice even though it isn't needed here specifically.
@Delba
@Delba 2 жыл бұрын
Of course the Tailwind thumbnails are actually built with Tailwind! 🔥
@simonswiss
@simonswiss 2 жыл бұрын
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-oi4fx
@Dave-oi4fx 2 жыл бұрын
@@simonswiss it's a joke lmao
@simonswiss
@simonswiss 4 күн бұрын
Don't mind me re-watching my own videos 2 years later, and being in awe of how cool they are 👁👄👁
@adeyudhapratama4314
@adeyudhapratama4314 2 жыл бұрын
I'm a backend and really interest with frontend after watching all video from this channel, cool
@bakiwebdev
@bakiwebdev 2 жыл бұрын
i never get bored with tailwind CSS, Thank you so much
@can-genc
@can-genc 2 жыл бұрын
Why learn photoshop when you can just use tailwind at this point, amazing work as always
@cool14tsanzol
@cool14tsanzol 2 жыл бұрын
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.
@wasimshahzad2720
@wasimshahzad2720 4 ай бұрын
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.
@faldikn
@faldikn 2 жыл бұрын
Tailwind is great, but...this guy is AMAZING 🌟
@MistaT44
@MistaT44 2 жыл бұрын
No words! Absolutely amazing
@yesayasoftware
@yesayasoftware 2 жыл бұрын
Your doing a great job, your content is great and fun at the same time.
@lucasfranzolin
@lucasfranzolin 2 жыл бұрын
i absolutely love this channel!!
@deephousefridays1911
@deephousefridays1911 2 жыл бұрын
This was amazing, learned a lot! Thanks
@simonswiss
@simonswiss 2 жыл бұрын
Glad to hear it's helpful!
@himanshusrivastava931
@himanshusrivastava931 2 жыл бұрын
This guy is lit🔥
@sasicodes
@sasicodes 2 жыл бұрын
Amazing video, as usual 🔥
@ngechumungai8420
@ngechumungai8420 2 жыл бұрын
Master at work 🔥
@aliftaufikhurrahmataminudd9040
@aliftaufikhurrahmataminudd9040 2 жыл бұрын
It even includes some insight of creating element that's sr friendly
@vinsonyung537
@vinsonyung537 2 жыл бұрын
No question this guy is professional in Tailwindcss :)
@HelloWorld-fg2nm
@HelloWorld-fg2nm 2 жыл бұрын
Wow I learned a lot from this video, well done!
@ebouls9210
@ebouls9210 2 жыл бұрын
Voilà ! Super vidéo comme d’habitude merci beaucoup
@QueeeeenZ
@QueeeeenZ 2 жыл бұрын
You're watching a master at work!
@rojonali3374
@rojonali3374 2 жыл бұрын
You are really the fun guy.
@dibbyo456
@dibbyo456 Жыл бұрын
This is sick. ❤‍🔥
@simonswiss
@simonswiss Жыл бұрын
Honestly this was of the most fun videos I put together - really enjoyed that one!
@aliwolfi816
@aliwolfi816 2 жыл бұрын
just the 'broop' word XD you're amazing man
@mukut5ul
@mukut5ul 2 жыл бұрын
Great video
@barbapapazes
@barbapapazes 2 жыл бұрын
Whooo amazing!
@wahyusa
@wahyusa 2 жыл бұрын
Thank you! that is so inspiring
@CARUSAR21
@CARUSAR21 2 жыл бұрын
Fantastic like always
@EricTirado
@EricTirado 2 жыл бұрын
I would have never thought of making a youtube video thumbnail with code. ^_^
@spicybaguette7706
@spicybaguette7706 2 жыл бұрын
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
@aguspray
@aguspray 2 жыл бұрын
Your explaination is very clear! Please make video about tailwind best practice, such as mobile first and etc 😀
@technical157
@technical157 2 жыл бұрын
i love your videos. please dont stop making them.
@simonswiss
@simonswiss 4 күн бұрын
I never wanted to stop!
@tahak7411
@tahak7411 2 жыл бұрын
This is cool af
@yo1414
@yo1414 2 жыл бұрын
Awesome - Thank you!
@md.najmulhasan8774
@md.najmulhasan8774 2 жыл бұрын
wow it's amazing 👍
@amirrahman853
@amirrahman853 2 жыл бұрын
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
@ShajidHasan
@ShajidHasan 2 жыл бұрын
Great video Simon!
@simonswiss
@simonswiss 2 жыл бұрын
Thanks! 🙏
@pavanakumardr152
@pavanakumardr152 2 жыл бұрын
Productivity and freedom tailwind
@jagjens
@jagjens 2 жыл бұрын
Gonna use the concept to build nice images and be more visual on twitter 😄
@deekshantwadhwa
@deekshantwadhwa 2 жыл бұрын
This is what is known as "Going Meta".
@justingolden21
@justingolden21 2 жыл бұрын
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.
@simonswiss
@simonswiss 2 жыл бұрын
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.
@ahmedutuber
@ahmedutuber 2 жыл бұрын
nice 👍
@sornt
@sornt 2 жыл бұрын
Great!!!
@mohamedyoussef8835
@mohamedyoussef8835 Жыл бұрын
Awesome video +++++++++++++++++ 😃
@simonswiss
@simonswiss Жыл бұрын
✨✨✨✨✨✨✨✨✨✨✨
@TimKariuki
@TimKariuki 2 жыл бұрын
I wish I could become this good in Tailwind.
@simonswiss
@simonswiss 2 жыл бұрын
Practice makes perfect, keep at it!
@baneneba3477
@baneneba3477 2 жыл бұрын
it has very good documentation and easy to learn
@ibnelaiq
@ibnelaiq 2 жыл бұрын
Protect him he is a GEM
@iDarthGigi
@iDarthGigi 2 жыл бұрын
Could you share the Visual Studio Code settings, plugins and themes that are being used in these videos?
@narendrapatwardhan68
@narendrapatwardhan68 2 жыл бұрын
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.
@simonswiss
@simonswiss 2 жыл бұрын
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 👍
@tobiassteckenborn5827
@tobiassteckenborn5827 2 жыл бұрын
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.
@manuelcardona911
@manuelcardona911 2 жыл бұрын
👌👌👌
@nzube
@nzube 2 жыл бұрын
👌👌👌👏🏼👏🏼👏🏼
@eminalizade8998
@eminalizade8998 2 жыл бұрын
Why not gap instead of space at 3:30?
@dmarksbarber
@dmarksbarber 2 жыл бұрын
What is the VS Code extension for HTML preview? There's a few but I'm not sure any of them are any good
@Protoscribe
@Protoscribe 2 жыл бұрын
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
@Protoscribe
@Protoscribe 2 жыл бұрын
Ah it was mentioned later in the video. Are they fixed sizes or can you put any sizes in?
@Kiliman3970
@Kiliman3970 2 жыл бұрын
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
@Protoscribe
@Protoscribe 2 жыл бұрын
@@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...
@Protoscribe
@Protoscribe 2 жыл бұрын
@@Kiliman3970 It even takes hex colors, definitely a great thing
@simonswiss
@simonswiss 2 жыл бұрын
@@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-8
@Balance-8 2 жыл бұрын
How would you export this to a PDF?
@andyjeffries
@andyjeffries 2 жыл бұрын
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?
@Kiliman3970
@Kiliman3970 2 жыл бұрын
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
@andyjeffries
@andyjeffries 2 жыл бұрын
@@Kiliman3970 Awesome reply, thank you!
@elenadomingos7632
@elenadomingos7632 2 жыл бұрын
Hello. In which version the w-[230px] is avalible? For me it doesn't work.
@felixmilome
@felixmilome 2 жыл бұрын
does tailwind work on opera mini?
@sounak2009
@sounak2009 2 жыл бұрын
Hey! Could you please reply- what was the *w-[640px]* class?
@thevividversatilechannel4807
@thevividversatilechannel4807 2 жыл бұрын
Just In Time (JIT) mode arbitary value inside square brackets for a custom value. CSS generated is `width: 640px;` Thank you very much
@ESC.eatsleepcode
@ESC.eatsleepcode 2 жыл бұрын
Can anyone please tell me what is aria-hidden here in div? Thanx in advance.
@helitonnordt799
@helitonnordt799 2 жыл бұрын
You need to be a hater to dislike this video. Great video production, code and explanation.
@yusha790
@yusha790 8 ай бұрын
brooowp brooowp xd
@himanshusrivastava931
@himanshusrivastava931 2 жыл бұрын
Can anyone tell me which preview extension he is using? 🙄
@Dave-oi4fx
@Dave-oi4fx 2 жыл бұрын
I'm waiting for someone to answer this.....
@TailwindLabs
@TailwindLabs 2 жыл бұрын
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 👍🏻
@dinhkhanh
@dinhkhanh 2 жыл бұрын
You can try HTML Preview, or Preview
@Dave-oi4fx
@Dave-oi4fx 2 жыл бұрын
@@dinhkhanh or vscode Live Preview too
@larrasu
@larrasu 2 жыл бұрын
@@TailwindLabs Would it be possible to integrate Tailwind Play as a VS Code extension?
@andresdosantos5310
@andresdosantos5310 2 жыл бұрын
I just wanted to know the name of the font you use
@simonswiss
@simonswiss 2 жыл бұрын
Dank Mono ✨
@andresdosantos5310
@andresdosantos5310 2 жыл бұрын
@@simonswiss thanks
@chanandlerbong6176
@chanandlerbong6176 2 жыл бұрын
why do we need that aria-hidden="true" here?
@binitrupakheti4246
@binitrupakheti4246 Жыл бұрын
that's just for accessibility purposes
Adding Tailwind CSS to an Existing Project
17:48
Tailwind Labs
Рет қаралды 33 М.
Translating a Custom Design System to Tailwind CSS
10:10
Tailwind Labs
Рет қаралды 115 М.
1 класс vs 11 класс (неаккуратность)
01:00
The Worlds Most Powerfull Batteries !
00:48
Woody & Kleiny
Рет қаралды 27 МЛН
Building a Fancy Responsive Tile Grid with Tailwind CSS
13:28
Tailwind Labs
Рет қаралды 73 М.
Cool Hearing Test: Are You a Superhuman?
8:13
BRIGHT SIDE
Рет қаралды 23 МЛН
A Simpler Way to See Results
19:17
Logan Smith
Рет қаралды 95 М.
3 DIY INVENTIONS
11:33
Inventor 101
Рет қаралды 89 МЛН
101 Weird But Useful Minecraft Hacks
48:36
Skip the Tutorial
Рет қаралды 3,7 МЛН
How I use technology as a blind person! - Molly Burke (CC)
12:12
Molly Burke
Рет қаралды 2,3 МЛН
Sorting Tailwind CSS Classes Automatically with Prettier
10:00
Tailwind Labs
Рет қаралды 85 М.
Theming Tailwind with CSS Variables
27:24
Tailwind Labs
Рет қаралды 118 М.
😱НОУТБУК СОСЕДКИ😱
0:30
OMG DEN
Рет қаралды 3,3 МЛН
Эффект Карбонаро и бумажный телефон
1:01
История одного вокалиста
Рет қаралды 2,8 МЛН
How much charging is in your phone right now? 📱➡️ 🔋VS 🪫
0:11