02: The Utility-First Workflow - Tailwind CSS v2.0: From Zero to Production

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

КОМЕНТАРІ • 74

  • @zalodias123
    @zalodias123 3 роки тому +39

    I like how you explain some design concepts along the way when you are styling the components.

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

    Terrific! Bite-sized code-along tuts, perfect to show us how Tailwind makes CSS intuitive and fast. Loved the bonus design tips...already used a few

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

    Excellent tool and the supporting content like this is just amazing

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

    i don't understand why the div appears centered in the body, you didn't specified that in any place

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

      I was wondering exactly that, I don't get it. Any idea?

  • @Ismail-hq8cq
    @Ismail-hq8cq Рік тому +5

    Anyone who want to add autocomplete:
    - Install: Tailwind CSS IntelliSense extension in VS code.
    - Open your settings.json file then add this to get the intellisense working on all files:
    "tailwindCSS.includeLanguages": {
    "html": "html",
    "javascript": "javascript",
    "css": "css"
    },
    "editor.quickSuggestions": {
    "strings": true
    }

  • @vladutcornel
    @vladutcornel 3 роки тому +14

    I am old enough to remember the < font > HTML tag and people telling me I shouldn't mix styling and markup.
    Guess it's full circle now.

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

      Same, but the old HTML attributes and tags had the disadvantage of not being reusable or versatile at all. Since this is still CSS, you can change a color in one place and still have it change everywhere, which was impossible back then with color="red"

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

      @@RemizZ That works if you use the same color, but in a slightly different shade.
      If you need to use a completely different color (e.g. red to blue), or even a different saturation (e.g. red-900 to red-800), you still have to change it everywhere.

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

      This paradigm really shines when combined with markup components (like React components, for example) not only do you avoid repetition, the level of flexibility you have is unmatched with external or inline css.
      For example, in a React component, as an argument you can accept the size of a button (let’s say small and large) and only conditionally add/remove utility classes right from the view without messing with ugly and frágil css styles. It’s awesome.

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

      @@vladutcornel That depends, when you also use color-primary-xxx and then change the primary color from blue to orange, you do not have to change the stufff.
      What I mean:
      You define blue and orange.
      Then you do: primary = orange.

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

    Nice , after watching this video I decided to use Tailwind in my new project. thank you!

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

    How did you get the autosuggestions?

  • @deepfuchsia7204
    @deepfuchsia7204 3 роки тому +19

    I just noticed this channel is actually Tailwind Labs channel.

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

      Wow! Really good content

  • @Наталимоєжиття

    Привіт цікаво переглянула дякую за відео

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

    Very cool..Keep these kinds of examples coming. they are very useful for learning Tailwind CSS.

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

    I am intrigued by the extension name of his html preview. If you don't mind to share it'll be great.

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

      @@ZulluBalti I think that one is the tailwin css intelliSence try it and when you hover the class click on ctl, it may work.

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

      "Browser Preview" extension

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

    Great CSS Framework,
    Could you please share your vscode extentions and theme, I really like it.

    • @vijal-patel
      @vijal-patel 3 роки тому

      looks like the nightowl theme, extension is likely "Tailwind CSS IntelliSense"

  • @skullcrusher4244
    @skullcrusher4244 2 роки тому +1

    How did you get Preview inside Vs-code. If anyone knows please tell.

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

    Very good staff for beginners, thanks

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

    Nicely thought-out platform. 👏👍⭐️

  • @Jack-ss4re
    @Jack-ss4re Рік тому

    You explain so well. Do you teach somewhere that i can learn?

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

    Should've done it with some different design tho. I coded up the same thing with TW2 and it had virtually no difference at all. You can easily follow Adam coding up the same thing with TW1 and it will be the same.

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

      yeah I'm a big tailwind believer, but why recreate the whole workcation series already done so well by Adam? The sexy French accent?

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

      That's the only bad thing about this series

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

      So, that's a fair point - but the idea was to give this course a refresh.
      A lot of things have changed since the original course (setup steps, built in Purge CSS, variants.exend, ...) so we needed an up-to-date version of this material.

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

      @@TailwindLabs I still say it's all about the French accent ;). Keep up the amazing work. Cheers from the 905.

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

    Does anyone know why he surrounded the anchor in a div to make it display block instead of telling the anchor itself to be display block?

    • @EnigmaSnape
      @EnigmaSnape 8 місяців тому

      Extra div is unnecessary, especially when we use inline-block for the anchor

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

    what was the reason for the inline-block on the a tag?

    • @chickeninegg6997
      @chickeninegg6997 3 роки тому +9

      the a tag has ‘display: inline’ by default. We need to change it to inline-block or block to give padding

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

    thanks, great video to start with TW VERY WELL EXPLAINED THNKS

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

    Loving this series 👍

  • @Arkl1te
    @Arkl1te 3 роки тому +9

    What vscode extensions do you use for tailwind autocompletion? I tried "Tailwind CSS IntelliSense" but it isn't working. Or are you using a different extension/editor?

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

      You have to include the language you are using in your tailwind config file. A quick google search should help you out. Look for "tailwind included languages".

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

      Tailwind CSS IntelliSense

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

      add this to the VS Code config:
      {
      "tailwindCSS.includeLanguages": {
      "plaintext": "html"
      }
      }

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

      @@nikitalive3845 Thank you so much. That helped a lot.

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

    do i need to install anything in order to have them autocomplete suggestions on vscode? they don't show up for meg

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

      @@nplayon fantastic! thank you king

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

      Great tutorials 👍

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

      @@kernelpanic901Awesome!

  • @MrAdnan252
    @MrAdnan252 2 роки тому +1

    Hi, which preview extension are you using?

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

    What 's your vscode font name? It's very beautiful

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

    how to take live preview. I am using visual studio code, and installed 'html preview' . But its not work with tailwind. Help please!

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

      you have to right click and use live server for html preview

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

      @@goodluck_charliee Thank you. I have already Vite dev server of tailwind css as he described previous startup video of tailwind, do I face any conflict between these two. I also want to know what type of preview is he using above video. I also have 'browser preview'. Is it same of Live Server?

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

      @@abhilashoommen4704 The Vite dev server is the one he's using. Since I have Live Server as well and was actually running it before we got to the Vite dev server walkthrough I can confidently say that there isn't a conflict between the two.

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

      @@DerickMasai when I open vite, it loads the index.html on a new safari tab. How do I get vite to open within VSCODE in the same manner in the video? (it's displayed to the right side of the code)

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

      @@iamthekingofchoco He mentioned in another video that that is done by an internal tool at Tailwind. Not sure on this though but he also mentioned they would release it once it was stable.

  • @hmsmurtaza
    @hmsmurtaza 3 місяці тому

    Which extension are you using in vs code for tailwindcss code completion??

    • @hmsmurtaza
      @hmsmurtaza 3 місяці тому

      i found this one during search: Tailwind CSS IntelliSense

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

    Nothing about node/npm/vscode extensions and other details that would make it easier for a first-time beginner to follow.

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

    I did the same code with different images and logo.The page content is not centered.I feel like there are other parts missing. but I appreciate very much these efforts.
    Merci beaucoup pour les efforts que vous etes entrain de faire.J'ai compris que vous parlez le francais depuis le depart. :p

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

      I know it's been a while but I'm facing the exact same issue. Could you find a way to center things the way he did on the video? On the Tailwind documentation they suggest using flexbox or grid. But somehow his did without adding any flex attribute.

    • @HarishBP-o3l
      @HarishBP-o3l 9 місяців тому

      update like this

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

    'flex justify-center' either body or div, don't know why his is automatically centered lol

  • @whyyshivam
    @whyyshivam 5 місяців тому

    Hey! What 's your vscode font name?

  • @SunGod-887
    @SunGod-887 2 роки тому

    dammm. this is amazing.

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

    thx, this is useful stuff

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

    This is super helpful :)

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

    this tutorial is similar with the one that Adam Wathan make on his channel

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

    Hie i like your text editor font, what i the font name? where can i buy or download it?

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

    👍🏻👍🏻👍🏻

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

    poggers