03: Responsive Design - Tailwind CSS v2.0: From Zero to Production

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 ธ.ค. 2024
  • Source code: github.com/tai...
    Tailwind CSS: tailwindcss.com

ความคิดเห็น • 138

  • @fabiomiguel3
    @fabiomiguel3 3 ปีที่แล้ว +117

    I'm speechless on how good this is....

    • @vasiovasio
      @vasiovasio 3 ปีที่แล้ว +25

      Me too! The overall feeling is like we write CSS wrong for all these years!

    • @IbsaUtube
      @IbsaUtube 2 ปีที่แล้ว +1

      I just discovered tailwind css over the weekend and I’ve been on a binge watch of every video I can find. I am speechless too.

  • @Prajna11
    @Prajna11 3 ปีที่แล้ว +28

    Even though this WorkCation design has been making the rounds by the TW crew for a few years, I always pick up more tricks by seeing our vacationer scene built from scratch. Simon, you have an enormous gift for teaching. Thx again.

  • @soksedthaly8299
    @soksedthaly8299 2 ปีที่แล้ว +3

    It is truly a "From Zero to Production" walkthrough about Responsive Design. Thanks!

    • @lukas.webdev
      @lukas.webdev ปีที่แล้ว

      I'm currently working on a video about Creating Responsive Design with Tailwind CSS myself and I will probably drop it next week - this should be even more helpful cause I cover things that he does not even mention in this video ... 😉

  • @vasiovasio
    @vasiovasio ปีที่แล้ว +2

    This video shows us how powerful and convenient Tailwind CSS is at the same time!

  • @SatadruChique
    @SatadruChique 3 ปีที่แล้ว +24

    Very good walk through. These videos works as best practices when I use Tailwind for production.

  • @jslbrt
    @jslbrt 3 ปีที่แล้ว +22

    One of the best walkthroughs I've ever seen any company do, thanks a lot!

  • @dishendra.
    @dishendra. 3 ปีที่แล้ว +16

    Thank you very much Tailwind Labs for creating such a great series.
    Simon, you are such an incredible teacher!

  • @gaetannoel5178
    @gaetannoel5178 2 ปีที่แล้ว +3

    Amazing teaching! As a Tailwind beginner, I'm fully convinced now!

    • @simonswiss
      @simonswiss 2 ปีที่แล้ว

      That's awesome to hear! Glad the video was helpful ❤

    • @lukas.webdev
      @lukas.webdev ปีที่แล้ว

      If you want to watch another video on Tailwind: I just posted a new Tailwind CSS Tutorial (2023) - maybe this is also helpful ... 😉

  • @ed1nh0
    @ed1nh0 3 ปีที่แล้ว +31

    In a nutshell, Tailwind is not for beginners on CSS. It is a real game changer for most of senior devs focused on UI/UX.

    • @ethancreel8815
      @ethancreel8815 3 ปีที่แล้ว +6

      What u mean today my first day with tailwind and first week with frontend and i fkn love it

    • @chrisarrow
      @chrisarrow 3 ปีที่แล้ว +4

      To be honest it would just be as easy (if not easier) learning tailwind css right off the bat. For one it removes the needs to worry about specificity and selectors.

    • @DylanRotich
      @DylanRotich ปีที่แล้ว +2

      @@chrisarrow Tailwind definitely solidified my understand of CSS. I think I would have learned CSS much faster if I had been introduced to Tailwind sooner.

    • @liboriusbelvatazio5499
      @liboriusbelvatazio5499 ปีที่แล้ว +1

      Tailwind is very hard for begineners because, almost the begineers learn to build responsive web from deskstop then graduallh build on mobile, meanwhile when u use tailwind, u must build responsive web from the movile first approach, that things make a lot people especially beginner confuse to make responsive,

  • @NotAllHeroesWearCapes-101
    @NotAllHeroesWearCapes-101 3 ปีที่แล้ว +2

    man .. the quality of your videos is so awesome

  • @srinivasmekala1189
    @srinivasmekala1189 2 ปีที่แล้ว +3

    I've never been this satisfied understanding the grid and responsive concepts. Thanks a lot man😃

  • @gskywalker6147
    @gskywalker6147 3 ปีที่แล้ว +18

    what's that preview extension you use bro?

  • @asasmith8555
    @asasmith8555 3 ปีที่แล้ว +1

    Not sure if the design paradigm itself or the tutorials are gassier🔥🔥🔥 excellent work!

  • @sixty4285
    @sixty4285 2 ปีที่แล้ว +1

    As someone that hates css this framework made my life a lot easier. THANK YOU!!!!

    • @lukas.webdev
      @lukas.webdev ปีที่แล้ว

      If you want to watch another video on Tailwind: I just posted a new Tailwind CSS Tutorial (2023) - maybe this is also helpful ... 😉

  • @shafiu283
    @shafiu283 3 ปีที่แล้ว +2

    Tailwind is the future of CSS

  • @EnterOsaka
    @EnterOsaka 2 ปีที่แล้ว +3

    This was wonderful. I'm learning a lot and I'm excited to try and build my own page using these tips and tricks.

  • @SiddhantaPaul80
    @SiddhantaPaul80 2 ปีที่แล้ว +1

    One Of The Best if not more, How To Responsive Design With An useful example.
    Thanks So Much For This Master Class On Tailwind CSS Responsive Design! 👌

    • @lukas.webdev
      @lukas.webdev ปีที่แล้ว

      I'm currently working on a video about Creating Responsive Design with Tailwind CSS myself and I will probably drop it next week - this should be even more helpful cause I cover things that he does not even mention in this video ... 😉

  • @Shubham-xh9nz
    @Shubham-xh9nz 3 ปีที่แล้ว +5

    this is so good that I want all this classes should be browser defaults so every browser have inbuilt css framework

    • @TheRafark
      @TheRafark 3 ปีที่แล้ว +1

      Hadn’t thought about this. But who knows, maybe in 5 years browsers utility classes will be part of the HTML APIs. Jquery changed ECMAScript so I don’t see why not if tailwind becomes the de-facto css framework.

  • @nikhil182
    @nikhil182 2 ปีที่แล้ว

    This video is all I ever needed to implement responsive design using tailwind css!

    • @lukas.webdev
      @lukas.webdev ปีที่แล้ว

      I'm currently working on a video about Creating Responsive Design with Tailwind CSS and I will probably drop it next week - this should be even more helpful cause I cover things that he does not even mention in this video ... 😉

    • @nikhil182
      @nikhil182 ปีที่แล้ว +1

      @@lukas.webdev Looking forward to it!

    • @lukas.webdev
      @lukas.webdev ปีที่แล้ว

      @@nikhil182 Awesome! 😃 Make sure to subscribe to get notified when I drop the video...

    • @lukas.webdev
      @lukas.webdev ปีที่แล้ว

      BTW: The video is already online 😉

  • @whocen
    @whocen 3 ปีที่แล้ว

    I have searching for this tutorial all my life.

  • @arniyhjs
    @arniyhjs 3 ปีที่แล้ว +7

    "ok let's quickly change the color of the background of every break-point just for fun"

  • @yzhang2008
    @yzhang2008 ปีที่แล้ว

    Bro you did a great job on demonstrating Tailwind!

  • @kevinking1566
    @kevinking1566 3 ปีที่แล้ว +1

    I usually hate dabbling in frontend stuff because of css. But this makes it way more accessible for people like me.

  • @bart9522
    @bart9522 2 ปีที่แล้ว +2

    Hey that's pretty cool. Thanks for sharing.

  • @ericzedd
    @ericzedd 3 ปีที่แล้ว +35

    What's the preview extension?

    • @mustafwm
      @mustafwm 3 ปีที่แล้ว +10

      same question :)

    • @sveisvei
      @sveisvei 3 ปีที่แล้ว

      Wonder the same

    • @nurharizulaimanmatharith4023
      @nurharizulaimanmatharith4023 3 ปีที่แล้ว

      me too? and which code editor he used?

    • @tiagoagm
      @tiagoagm 3 ปีที่แล้ว

      @@nurharizulaimanmatharith4023 vscode theme night owl

    • @sveisvei
      @sveisvei 3 ปีที่แล้ว +2

      @@tiagoagm The extention is a work-in-progress extention by that team, hopefully they will release soon

  • @donmikkodanm.olmillo8154
    @donmikkodanm.olmillo8154 3 ปีที่แล้ว +2

    How to enable that preview and breakpoint.json on VS Code?

  • @sinaukode
    @sinaukode 3 ปีที่แล้ว +9

    what the preview extenstion that he use???

  • @sujankundu5527
    @sujankundu5527 3 ปีที่แล้ว

    This is a nice realtime tutorial for tailwind

  • @chrisbuivn188
    @chrisbuivn188 2 ปีที่แล้ว +3

    Hi, which extension you use for previewing browser inside the vscode? And can I use it with react jsx? Thank you!

  • @aramistanboulian6212
    @aramistanboulian6212 ปีที่แล้ว +1

    Amazing explanation
    🙏🏻 thank you

    • @lukas.webdev
      @lukas.webdev ปีที่แล้ว

      I'm currently working on a video about Creating Responsive Design with Tailwind CSS myself and I will probably drop it next week - this should be even more helpful cause I cover things that he does not even mention in this video ... 😉

  • @combinio9533
    @combinio9533 3 ปีที่แล้ว +2

    Thanks! Great tutorial series! after watching it, I'm gonna give a chance to Tailwind.

  • @TashingaPemhiwa
    @TashingaPemhiwa หลายเดือนก่อน

    Brilliant tutorial. You are a great teacher!

  • @nikyabodigital
    @nikyabodigital 2 ปีที่แล้ว +1

    Can you make a tutorial on this but you use only Flex properties. The flexbox full , basis-full or % and order2. Coz I feel like it will work

  • @brakeduster
    @brakeduster 3 ปีที่แล้ว +2

    Looks good! Would you say it suits building mobile first with those breakpoint settings?

    • @lukas.webdev
      @lukas.webdev ปีที่แล้ว +1

      Yes, that's exactly what Tailwind is for... create your mobile design and then adapt it to larger screen sizes by using breakpoints.
      I'm currently working on a video about Creating Responsive Design with Tailwind CSS myself and I will probably drop it next week - this should be even more helpful cause I cover things that he does not even mention in this video ... 😉

  • @saelbatuta3376
    @saelbatuta3376 2 ปีที่แล้ว +3

    Hello, can you give me the name of your preview application?

  • @wardJane
    @wardJane 2 ปีที่แล้ว

    simply,acknowledged,understanding!!!

  • @JaySolomonK
    @JaySolomonK 10 หลายเดือนก่อน

    Are not calc functions and auto layouts superior to media queries?

  • @johnlestervillarde7251
    @johnlestervillarde7251 9 หลายเดือนก่อน

    What extension you use to preview the output with screen size?

  • @yotsusan_machi
    @yotsusan_machi 2 ปีที่แล้ว

    omg this is what i need thanks tailwind labs

  • @z1982_
    @z1982_ 2 ปีที่แล้ว +1

    Hello!
    I would like to know if it's a common practice to take care of every single breakpoints like you did in the video ?
    Or usually people just go for mobile and one or two other breakpoints for PCs?

    • @lukas.webdev
      @lukas.webdev ปีที่แล้ว

      Only if it is needed for the project. But normally you take advantage of relative units and stuff, so that you don't need to change a size for every breakpoint... 😉

  • @christophernelson2261
    @christophernelson2261 6 หลายเดือนก่อน

    Hello! Is there a way to make my text sizes fluid responsive? Scaling based on viewport size?

  • @loydtafireyi6807
    @loydtafireyi6807 3 ปีที่แล้ว

    This is the tailwind css holy grail

  • @orenmizr
    @orenmizr ปีที่แล้ว

    great instructions. very effective video. truly.

  • @markstevens6724
    @markstevens6724 3 ปีที่แล้ว +1

    Love the tutorial so far! Question though, when I add a class to my tag, it doesn't want to change the text color, but it will in my tag, I assume it's being over ridden in the css build file but can't seem to find it. What am I missing? 🤔

  • @groovebird812
    @groovebird812 3 ปีที่แล้ว +2

    Is this maintainable in real projects? There are 8 and more classes for every breakpoint and property. It feels like writing inline css within html :-)

    • @loydtafireyi6807
      @loydtafireyi6807 3 ปีที่แล้ว +2

      It is maintainable, and to avoid long html documents you may have to put all different sections in smaller components, that way it will be much easier and fun to maintain.

    • @ijimmoore
      @ijimmoore 3 ปีที่แล้ว

      try tw w vuejs

  • @mostafahosseini2762
    @mostafahosseini2762 หลายเดือนก่อน

    Thanks to share your Knowledge ! That's Great!

  • @musabgulfam4229
    @musabgulfam4229 ปีที่แล้ว

    Which preview extension is that?

  • @dreeam299
    @dreeam299 ปีที่แล้ว

    Which IDE are you using ?

  • @shivambansal5011
    @shivambansal5011 ปีที่แล้ว

    Awsome tutorial, just starting with frontend and loving it due to easy tutorials such as this, also can someone tell what he was using to preview the webpage in such that he could change the screen width on the go?
    currently i use the inspect element for this but i can hit 2xl for this.

  • @lifelens8995
    @lifelens8995 ปีที่แล้ว

    Are you using vscode - if yes can you please mention the plugin for preview ?

  • @HolmesPatrick
    @HolmesPatrick 3 ปีที่แล้ว

    Is there a way to fix fontsize , spacing between block elements , button size for different breakpoints in advance , how to achieve that

  • @Troy-ol5fk
    @Troy-ol5fk 3 ปีที่แล้ว

    what is the difference between 'inset-0' and '-inset-0' ? The docs didn't explain this

  • @devsip2277
    @devsip2277 2 ปีที่แล้ว +1

    Amazing content

    • @lukas.webdev
      @lukas.webdev ปีที่แล้ว

      I just posted a video about Tailwind CSS in 2023 - maybe this is also helpful for you. 😉

  • @abdulhamidalsalman
    @abdulhamidalsalman 3 ปีที่แล้ว

    Awesome tutorial and presentation delivery.

  • @a7medalyousofi
    @a7medalyousofi 3 ปีที่แล้ว

    Why do we need to duplicate some of HTML markup like img to apply a different style instead of overwriting it on a different screen ??

  • @chrisb.8441
    @chrisb.8441 ปีที่แล้ว

    Loving Tailwind!

  • @nishitsarvaiya1474
    @nishitsarvaiya1474 2 ปีที่แล้ว

    Hi, Can someone tell me what font is he using in editor?

  • @koetje5259
    @koetje5259 3 ปีที่แล้ว

    Very nice tutorial, I'm still confused about fixing the height in a screen. If I resize my screen smaller from the bottom to the top without changing the width my context will still break. Anyone knows how to fix this?

  • @colouredpages
    @colouredpages 2 ปีที่แล้ว

    That was simply amazing!

  • @dream822
    @dream822 2 ปีที่แล้ว

    Hello which editor do you use? I'm using VS code and can't get side by side preview like you do

  • @snowflake585
    @snowflake585 3 ปีที่แล้ว

    That’s absolutely amazing!

  • @ufufu001
    @ufufu001 3 ปีที่แล้ว +2

    that is so cool! thank you king

  • @reactwind
    @reactwind 3 ปีที่แล้ว

    What text editor are you using it looks awesome!

  • @TheRafark
    @TheRafark 3 ปีที่แล้ว

    WOW. Just WOW. Fantastic!

  • @Leomessi12577
    @Leomessi12577 ปีที่แล้ว +1

    This is Amazing🥰😍🤩😘

  • @abhim6380
    @abhim6380 3 ปีที่แล้ว

    What about devices with width 360px?

    • @spyxd5245
      @spyxd5245 3 ปีที่แล้ว +2

      I believe you can define your custom breakpoints in tailwind.config.js?

  • @typescriptdev4316
    @typescriptdev4316 3 ปีที่แล้ว

    how to show preview(html) inside vs code like in the video?

    • @abf2452
      @abf2452 3 ปีที่แล้ว +1

      download the extension 'live server' in vs code or look at the first video of this playlist

  • @mohammadpartovi1813
    @mohammadpartovi1813 3 ปีที่แล้ว +1

    fantastic work. Thanks.

  • @benizec6156
    @benizec6156 3 ปีที่แล้ว

    Wow Wonderful
    Can you tell me what type of editor you are using?

    •  3 ปีที่แล้ว

      The editor is VS Code (code.visualstudio.com/) and the preview can be for example the HTML Preview extension: marketplace.visualstudio.com/items?itemName=tht13.html-preview-vscode

    • @nurharizulaimanmatharith4023
      @nurharizulaimanmatharith4023 3 ปีที่แล้ว

      @ already try that...but it doesnt load the css

    • @somerandomchannel382
      @somerandomchannel382 3 ปีที่แล้ว

      you need to load localhost:3000, not the html page.

  • @ruchithakur6109
    @ruchithakur6109 3 ปีที่แล้ว +2

    Thankyou sir for this video

  • @tonero5651
    @tonero5651 2 ปีที่แล้ว

    finally front-end made easy

  • @repoles
    @repoles ปีที่แล้ว

    Amazing!!! 🤩

  • @moududahammed880
    @moududahammed880 ปีที่แล้ว

    Second to none
    Carry on

  • @YCode_
    @YCode_ 10 หลายเดือนก่อน

    thank you 💙

  • @EmekaMbah
    @EmekaMbah 3 ปีที่แล้ว

    This guy is dammmmm! goooood!

  • @ronnieisurina6246
    @ronnieisurina6246 3 ปีที่แล้ว +1

    Thank you!

  • @ranibenmahmoud6298
    @ranibenmahmoud6298 3 ปีที่แล้ว

    it's just amazing

  • @জামান-থ৮খ
    @জামান-থ৮খ 3 ปีที่แล้ว

    really Really awesome

  • @liteshare6913
    @liteshare6913 2 ปีที่แล้ว

    Very nice. Thanks

  • @parnasmi
    @parnasmi 3 ปีที่แล้ว

    Greate tutorials. Thanks!

  • @jorgenUA
    @jorgenUA 3 ปีที่แล้ว +1

    For Responsive Design, we need to change the root ( !!! ) rem depending on the screen width. It is enough to change in one place, and the values will be recalculated throughout the document.
    Also, Tailwind CSS no use of different vw values for padding - margin - font - ... (I see only 100% or 100vw, for the width a little better). I did not find such opportunities in the documentation.
    Without this, there are a lot of lines of instructions.

    • @retinafunk
      @retinafunk 2 ปีที่แล้ว

      You can do all this with the tailwind config file , but changing the root font and depending on rem units only is a very flaky strategy and not really responsive, if anything is not rem or % you are fucked . YOu much better off with using clamp() and minmax() for responsive fonts

  • @andikusnadi1979
    @andikusnadi1979 3 ปีที่แล้ว

    Greattttt ❤️❤️❤️❤️❤️❤️

  • @seeithappen1
    @seeithappen1 3 ปีที่แล้ว +2

    Too many classes in the html tags ... it all gets cluttered up ... external stylesheet file keeps it better managed without clutter

  • @mohammedshopan2226
    @mohammedshopan2226 3 ปีที่แล้ว

    On of the powerfull utility is breakpoint

  • @magnigujar1081
    @magnigujar1081 2 ปีที่แล้ว

    I use tailwind in all project

  • @brianmweu6460
    @brianmweu6460 3 ปีที่แล้ว +1

    Nice thanks.

  • @AadeshKulkarni
    @AadeshKulkarni 3 ปีที่แล้ว

    Amazing

  • @adnanjojo
    @adnanjojo 3 ปีที่แล้ว

    Awesome

  • @ben_fraiche
    @ben_fraiche 3 ปีที่แล้ว +1

    I want to like this, thrice.

  • @WelfredAlmiron
    @WelfredAlmiron ปีที่แล้ว

    cool video)

  • @indiemakerpodcast
    @indiemakerpodcast 3 หลายเดือนก่อน

    good

  • @shadev23
    @shadev23 3 ปีที่แล้ว

    French ???

  • @homerlovesmarge
    @homerlovesmarge 2 ปีที่แล้ว

    Simon’s channel th-cam.com/video/q5ZaauBpSlU/w-d-xo.html

  • @IngPedroAraujo
    @IngPedroAraujo 3 ปีที่แล้ว

    thank you for sharing this knowledgedge

  • @alexy.3512
    @alexy.3512 3 ปีที่แล้ว

    Thank you!

  • @Unknown-so7qv
    @Unknown-so7qv 2 ปีที่แล้ว

    Amazing