Тёмный

Building a YouTube Thumbnail with Tailwind CSS 

Tailwind Labs
Подписаться 95 тыс.
Просмотров 28 тыс.
50% 1

In this video, we'll build the RU-vid thumbnail you just clicked on, from scratch, using Tailwind CSS.
Tailwind Play: play.tailwindc...

Опубликовано:

 

13 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 92   
@Delba
@Delba 3 года назад
Of course the Tailwind thumbnails are actually built with Tailwind! 🔥
@simonswiss
@simonswiss 3 года назад
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 3 года назад
@@simonswiss it's a joke lmao
@valtism
@valtism 3 года назад
Appreciate that you've included accessibility into this as a demonstration of best practice even though it isn't needed here specifically.
@simonswiss
@simonswiss 3 месяца назад
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
@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.
@Washa-g4s
@Washa-g4s 7 месяцев назад
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.
@MistaT44
@MistaT44 2 года назад
No words! Absolutely amazing
@faldikn
@faldikn 3 года назад
Tailwind is great, but...this guy is AMAZING 🌟
@yesayasoftware
@yesayasoftware 3 года назад
Your doing a great job, your content is great and fun at the same time.
@deephousefridays1911
@deephousefridays1911 3 года назад
This was amazing, learned a lot! Thanks
@simonswiss
@simonswiss 3 года назад
Glad to hear it's helpful!
@can-genc
@can-genc 2 года назад
Why learn photoshop when you can just use tailwind at this point, amazing work as always
@himanshusrivastava931
@himanshusrivastava931 3 года назад
This guy is lit🔥
@aliftaufikhurrahmataminudd9040
@aliftaufikhurrahmataminudd9040 3 года назад
It even includes some insight of creating element that's sr friendly
@dibbyo456
@dibbyo456 Год назад
This is sick. ❤‍🔥
@simonswiss
@simonswiss Год назад
Honestly this was of the most fun videos I put together - really enjoyed that one!
@rojonali3374
@rojonali3374 2 года назад
You are really the fun guy.
@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
@vinsonyung537
@vinsonyung537 3 года назад
No question this guy is professional in Tailwindcss :)
@QueeeeenZ
@QueeeeenZ 3 года назад
You're watching a master at work!
@aliwolfi816
@aliwolfi816 2 года назад
just the 'broop' word XD you're amazing man
@barbapapazes
@barbapapazes 3 года назад
Whooo amazing!
@amirrahman853
@amirrahman853 3 года назад
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
@EricTirado
@EricTirado 2 года назад
I would have never thought of making a youtube video thumbnail with code. ^_^
@technical157
@technical157 3 года назад
i love your videos. please dont stop making them.
@simonswiss
@simonswiss 3 месяца назад
I never wanted to stop!
@justingolden21
@justingolden21 3 года назад
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 3 года назад
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.
@tahak7411
@tahak7411 3 года назад
This is cool af
@pavanakumardr152
@pavanakumardr152 3 года назад
Productivity and freedom tailwind
@mukut5ul
@mukut5ul 3 года назад
Great video
@lucasfranzolin
@lucasfranzolin 3 года назад
i absolutely love this channel!!
@narendrapatwardhan68
@narendrapatwardhan68 3 года назад
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 3 года назад
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 👍
@HelloWorld-fg2nm
@HelloWorld-fg2nm 2 года назад
Wow I learned a lot from this video, well done!
@sasicodes
@sasicodes 2 года назад
Amazing video, as usual 🔥
@ngechumungai8420
@ngechumungai8420 3 года назад
Master at work 🔥
@tobiassteckenborn5827
@tobiassteckenborn5827 3 года назад
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.
@aguspray
@aguspray 3 года назад
Your explaination is very clear! Please make video about tailwind best practice, such as mobile first and etc 😀
@jagjens
@jagjens 2 года назад
Gonna use the concept to build nice images and be more visual on twitter 😄
@ebouls9210
@ebouls9210 2 года назад
Voilà ! Super vidéo comme d’habitude merci beaucoup
@TimKariuki
@TimKariuki 3 года назад
I wish I could become this good in Tailwind.
@simonswiss
@simonswiss 3 года назад
Practice makes perfect, keep at it!
@baneneba3477
@baneneba3477 3 года назад
it has very good documentation and easy to learn
@ShajidHasan
@ShajidHasan 3 года назад
Great video Simon!
@simonswiss
@simonswiss 3 года назад
Thanks! 🙏
@eminalizade8998
@eminalizade8998 3 года назад
Why not gap instead of space at 3:30?
@deekshantwadhwa
@deekshantwadhwa 3 года назад
This is what is known as "Going Meta".
@iDarthGigi
@iDarthGigi 3 года назад
Could you share the Visual Studio Code settings, plugins and themes that are being used in these videos?
@CARUSAR21
@CARUSAR21 3 года назад
Fantastic like always
@ahmedutuber
@ahmedutuber 2 года назад
nice 👍
@yo1414
@yo1414 2 года назад
Awesome - Thank you!
@mohamedyoussef8835
@mohamedyoussef8835 2 года назад
Awesome video +++++++++++++++++ 😃
@simonswiss
@simonswiss Год назад
✨✨✨✨✨✨✨✨✨✨✨
@wahyusa
@wahyusa 3 года назад
Thank you! that is so inspiring
@Balance-8
@Balance-8 3 года назад
How would you export this to a PDF?
@ibnelaiq
@ibnelaiq 3 года назад
Protect him he is a GEM
@md.najmulhasan8774
@md.najmulhasan8774 3 года назад
wow it's amazing 👍
@elenadomingos7632
@elenadomingos7632 2 года назад
Hello. In which version the w-[230px] is avalible? For me it doesn't work.
@sornt
@sornt 3 года назад
Great!!!
@dmarksbarber
@dmarksbarber 3 года назад
What is the VS Code extension for HTML preview? There's a few but I'm not sure any of them are any good
@rajan-u6b
@rajan-u6b 2 года назад
Can anyone please tell me what is aria-hidden here in div? Thanx in advance.
@felixmilome
@felixmilome 2 года назад
does tailwind work on opera mini?
@himanshusrivastava931
@himanshusrivastava931 3 года назад
Can anyone tell me which preview extension he is using? 🙄
@Dave-oi4fx
@Dave-oi4fx 3 года назад
I'm waiting for someone to answer this.....
@TailwindLabs
@TailwindLabs 3 года назад
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 3 года назад
You can try HTML Preview, or Preview
@Dave-oi4fx
@Dave-oi4fx 3 года назад
@@dinhkhanh or vscode Live Preview too
@larrasu
@larrasu 3 года назад
@@TailwindLabs Would it be possible to integrate Tailwind Play as a VS Code extension?
@manuelcardona911
@manuelcardona911 3 года назад
👌👌👌
@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
@andyjeffries
@andyjeffries 3 года назад
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!
@nzube
@nzube 3 года назад
👌👌👌👏🏼👏🏼👏🏼
@Protoscribe
@Protoscribe 3 года назад
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 3 года назад
Ah it was mentioned later in the video. Are they fixed sizes or can you put any sizes in?
@Kiliman3970
@Kiliman3970 3 года назад
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 3 года назад
@@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 3 года назад
@@Kiliman3970 It even takes hex colors, definitely a great thing
@simonswiss
@simonswiss 3 года назад
@@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.
@helitonnordt799
@helitonnordt799 3 года назад
You need to be a hater to dislike this video. Great video production, code and explanation.
@chanandlerbong6176
@chanandlerbong6176 2 года назад
why do we need that aria-hidden="true" here?
@binitrupakheti4246
@binitrupakheti4246 Год назад
that's just for accessibility purposes
@yusha790
@yusha790 11 месяцев назад
brooowp brooowp xd
@andresdosantos5310
@andresdosantos5310 3 года назад
I just wanted to know the name of the font you use
@simonswiss
@simonswiss 3 года назад
Dank Mono ✨
@andresdosantos5310
@andresdosantos5310 3 года назад
@@simonswiss thanks
Далее
Theming Tailwind with CSS Variables
27:24
Просмотров 124 тыс.
Translating a Custom Design System to Tailwind CSS
10:10
The Story of Next.js
12:13
Просмотров 576 тыс.
Adding Tailwind CSS to an Existing Project
17:48
Просмотров 34 тыс.
Only Noobs Build Beautiful Websites
18:13
Просмотров 126 тыс.
13 Things To Remove From Your Website Immediately
12:33
Floating Labels with Tailwind CSS
10:19
Просмотров 101 тыс.