Building a YouTube Thumbnail with Tailwind CSS

Поділитися
Вставка
  • Опубліковано 9 лис 2024

КОМЕНТАРІ • 92

  • @Delba
    @Delba 3 роки тому +84

    Of course the Tailwind thumbnails are actually built with Tailwind! 🔥

    • @simonswiss
      @simonswiss 3 роки тому +12

      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 🙌

    • @SIPPO-2024
      @SIPPO-2024 3 роки тому +2

      @@simonswiss it's a joke lmao

  • @simonswiss
    @simonswiss 5 місяців тому +2

    Don't mind me re-watching my own videos 2 years later, and being in awe of how cool they are 👁👄👁

  • @valtism
    @valtism 3 роки тому +40

    Appreciate that you've included accessibility into this as a demonstration of best practice even though it isn't needed here specifically.

  • @bakiwebdev
    @bakiwebdev 3 роки тому +1

    i never get bored with tailwind CSS, Thank you so much

  • @cool14tsanzol
    @cool14tsanzol 3 роки тому +1

    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 9 місяців тому

      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.

  • @adeyudhapratama4314
    @adeyudhapratama4314 2 роки тому

    I'm a backend and really interest with frontend after watching all video from this channel, cool

  • @faldikn
    @faldikn 3 роки тому +1

    Tailwind is great, but...this guy is AMAZING 🌟

  • @MistaT44
    @MistaT44 3 роки тому +1

    No words! Absolutely amazing

  • @can-genc
    @can-genc 3 роки тому +5

    Why learn photoshop when you can just use tailwind at this point, amazing work as always

  • @vinsonyung537
    @vinsonyung537 3 роки тому

    No question this guy is professional in Tailwindcss :)

  • @yesayasoftware
    @yesayasoftware 3 роки тому +3

    Your doing a great job, your content is great and fun at the same time.

  • @aliftaufikhurrahmataminudd9040
    @aliftaufikhurrahmataminudd9040 3 роки тому +1

    It even includes some insight of creating element that's sr friendly

  • @pavanakumardr152
    @pavanakumardr152 3 роки тому

    Productivity and freedom tailwind

  • @QueeeeenZ
    @QueeeeenZ 3 роки тому

    You're watching a master at work!

  • @deephousefridays1911
    @deephousefridays1911 3 роки тому +7

    This was amazing, learned a lot! Thanks

    • @simonswiss
      @simonswiss 3 роки тому

      Glad to hear it's helpful!

  • @aliwolfi816
    @aliwolfi816 3 роки тому

    just the 'broop' word XD you're amazing man

  • @EricTirado
    @EricTirado 3 роки тому

    I would have never thought of making a youtube video thumbnail with code. ^_^

  • @rojonali3374
    @rojonali3374 3 роки тому

    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

  • @justingolden21
    @justingolden21 3 роки тому +6

    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 роки тому +5

      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.

  • @dibbyo456
    @dibbyo456 Рік тому +1

    This is sick. ❤‍🔥

    • @simonswiss
      @simonswiss Рік тому

      Honestly this was of the most fun videos I put together - really enjoyed that one!

  • @barbapapazes
    @barbapapazes 3 роки тому +1

    Whooo amazing!

  • @himanshusrivastava931
    @himanshusrivastava931 3 роки тому +5

    This guy is lit🔥

  • @jagjens
    @jagjens 3 роки тому

    Gonna use the concept to build nice images and be more visual on twitter 😄

  • @yo1414
    @yo1414 3 роки тому

    Awesome - Thank you!

  • @mukut5ul
    @mukut5ul 3 роки тому +1

    Great video

  • @tahak7411
    @tahak7411 3 роки тому +1

    This is cool af

  • @tobiassteckenborn5827
    @tobiassteckenborn5827 3 роки тому +1

    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.

  • @lucasfranzolin
    @lucasfranzolin 3 роки тому

    i absolutely love this channel!!

  • @aguspray
    @aguspray 3 роки тому

    Your explaination is very clear! Please make video about tailwind best practice, such as mobile first and etc 😀

  • @TimKariuki
    @TimKariuki 3 роки тому +2

    I wish I could become this good in Tailwind.

    • @simonswiss
      @simonswiss 3 роки тому +1

      Practice makes perfect, keep at it!

    • @baneneba3477
      @baneneba3477 3 роки тому

      it has very good documentation and easy to learn

  • @ngechumungai8420
    @ngechumungai8420 3 роки тому

    Master at work 🔥

  • @technical157
    @technical157 3 роки тому +1

    i love your videos. please dont stop making them.

    • @simonswiss
      @simonswiss 5 місяців тому +1

      I never wanted to stop!

  • @ebouls9210
    @ebouls9210 3 роки тому

    Voilà ! Super vidéo comme d’habitude merci beaucoup

  • @sasicodes
    @sasicodes 3 роки тому

    Amazing video, as usual 🔥

  • @HelloWorld-fg2nm
    @HelloWorld-fg2nm 2 роки тому

    Wow I learned a lot from this video, well done!

  • @iDarthGigi
    @iDarthGigi 3 роки тому +2

    Could you share the Visual Studio Code settings, plugins and themes that are being used in these videos?

  • @deekshantwadhwa
    @deekshantwadhwa 3 роки тому +1

    This is what is known as "Going Meta".

  • @CARUSAR21
    @CARUSAR21 3 роки тому

    Fantastic like always

  • @ShajidHasan
    @ShajidHasan 3 роки тому +1

    Great video Simon!

  • @narendrapatwardhan68
    @narendrapatwardhan68 3 роки тому +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 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 👍

  • @ahmedutuber
    @ahmedutuber 2 роки тому

    nice 👍

  • @amirrahman853
    @amirrahman853 3 роки тому +6

    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

  • @wahyusa
    @wahyusa 3 роки тому

    Thank you! that is so inspiring

  • @md.najmulhasan8774
    @md.najmulhasan8774 3 роки тому

    wow it's amazing 👍

  • @ibnelaiq
    @ibnelaiq 3 роки тому

    Protect him he is a GEM

  • @sornt
    @sornt 3 роки тому

    Great!!!

  • @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 роки тому +1

      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 роки тому +1

      @@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.

  • @Balance-8
    @Balance-8 3 роки тому +1

    How would you export this to a PDF?

  • @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

  • @eminalizade8998
    @eminalizade8998 3 роки тому +1

    Why not gap instead of space at 3:30?

  • @mohamedyoussef8835
    @mohamedyoussef8835 2 роки тому

    Awesome video +++++++++++++++++ 😃

    • @simonswiss
      @simonswiss Рік тому

      ✨✨✨✨✨✨✨✨✨✨✨

  • @elenadomingos7632
    @elenadomingos7632 3 роки тому

    Hello. In which version the w-[230px] is avalible? For me it doesn't work.

  • @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 3 роки тому +3

      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 3 роки тому +1

      @@Kiliman3970 Awesome reply, thank you!

  • @sounak2009
    @sounak2009 3 роки тому

    Hey! Could you please reply- what was the *w-[640px]* class?

    • @thevividversatilechannel4807
      @thevividversatilechannel4807 3 роки тому

      Just In Time (JIT) mode arbitary value inside square brackets for a custom value.
      CSS generated is `width: 640px;`
      Thank you very much

  • @felixmilome
    @felixmilome 3 роки тому

    does tailwind work on opera mini?

  • @manuelcardona911
    @manuelcardona911 3 роки тому

    👌👌👌

  • @helitonnordt799
    @helitonnordt799 3 роки тому

    You need to be a hater to dislike this video.
    Great video production, code and explanation.

  • @nzube
    @nzube 3 роки тому

    👌👌👌👏🏼👏🏼👏🏼

  • @andresdosantos5310
    @andresdosantos5310 3 роки тому

    I just wanted to know the name of the font you use

  • @rajan-u6b
    @rajan-u6b 3 роки тому

    Can anyone please tell me what is aria-hidden here in div?
    Thanx in advance.

  • @himanshusrivastava931
    @himanshusrivastava931 3 роки тому +1

    Can anyone tell me which preview extension he is using? 🙄

    • @SIPPO-2024
      @SIPPO-2024 3 роки тому

      I'm waiting for someone to answer this.....

    • @TailwindLabs
      @TailwindLabs  3 роки тому +4

      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

    • @SIPPO-2024
      @SIPPO-2024 3 роки тому

      @@dinhkhanh or vscode Live Preview too

    • @larrasu
      @larrasu 3 роки тому

      @@TailwindLabs Would it be possible to integrate Tailwind Play as a VS Code extension?

  • @yusha790
    @yusha790 Рік тому

    brooowp brooowp xd

  • @chanandlerbong6176
    @chanandlerbong6176 3 роки тому

    why do we need that aria-hidden="true" here?