Tutorial: Learn how to use CSS Media Queries in less than 5 minutes

Поділитися
Вставка
  • Опубліковано 26 чер 2024
  • Start creating responsive layouts with confidence with my free responsive layouts course: courses.kevinpowell.co/conque...
    Quickly learn how to using CSS media queries. In this video, I explore what media queries are and how you can start using them right away.
    If you know how to write your own CSS, you'll be able to figure out media queries pretty quickly! All you need to do is assign new CSS rules at specific screen sizes.
    This is just a brief introduction, but it should be enough to get started in the world of responsive web development.
    If you're after a little bit of extra reading about CSS Media Queries, here you go:
    @media - CSS | MDN - developer.mozilla.org/en-US/d...
    Using Media Queries - MDN - developer.mozilla.org/en-US/d...
    CSS Media Queries & Using Available Space | CSS Tricks - css-tricks.com/css-media-quer...
    --
    New to Sass, or want to step up your game with it? I've got a course just for you: www.kevinpowell.co/learn-sass
    --
    I'm on some other places on the internet too!
    If you'd like a behind the scenes and previews of what's coming up on my UA-cam channel, make sure to follow me on Instagram and Twitter.
    Instagram: / kevinpowell.co
    Twitter: / kevinjpowell
    Codepen: codepen.io/kevinpowell/
    Github: github.com/kevin-powell/

КОМЕНТАРІ • 574

  • @fahrurrozy3341
    @fahrurrozy3341 4 роки тому +25

    5 MINUTES, 5 MINUTES . HE DID IT IN 5 MINUTES AND EVERYONE GOT THE POINT, DUDE YOU'RE COOL

  • @nivaech
    @nivaech 5 років тому +6

    Wow, awesome. The effectiveness of these four minutes is many times greater than the effectiveness of hourly vids of the same subject. Thank you kindly.

  • @Ca2le
    @Ca2le 6 років тому +120

    holy crap i have been on a 4h course about this and you explain it in 5 minutes, and better! thx

    • @KevinPowell
      @KevinPowell  6 років тому +8

      Haha, hopefully it just helped things from that 4 hour course click, lol. Glad it helped you out!

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

      That’s because Kevin clearly cares about his audience and the content he articulates. A lot of other instructors just want to make $$ or draw lessons out to appear more valuable, imho

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

    Thanks Kevin, I honestly think I'm learning more from you than my instructor in my full stack class. I appreciate it!!

  • @sourabhvaishnav8235
    @sourabhvaishnav8235 4 роки тому +18

    As soon as the video reached 3 minutes I hit the subscribed button. I was thinking media query is something very huge and monsterous but hey.....you explained it in simple simple words. It's actually people like you who make programming fun. Kudos Kevin!!

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

      same, still a great video!

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

    aah, you're brilliant for this! im in college taking a course for css and have been learning abt media queries, but it wasn't really sticking for me until I found your video.
    I literally spent hours watching the college course video but I learned more from your quick 5 min video. for some reason I learn better when it's quick & to the point. thanks again:)

  • @jensonci11
    @jensonci11 7 років тому +7

    I spent a whole Saturday trying to understand media queries. Thank you for this video! I am not feeling overwhelmed anymore! Following!

    • @KevinPowell
      @KevinPowell  7 років тому

      I'm so glad the video helped!

    • @ashleywinowiecki8513
      @ashleywinowiecki8513 4 роки тому

      that is exactly what i'm going through right now... had a long period of intense frustration today (saturday lol) trying to understand this but now i am starting to grasp it!

  • @thangjamkishorchand
    @thangjamkishorchand 5 років тому +3

    It is totally worth it.
    5 min videos saves my frustrations and hour of time
    Thank you

  • @kelartis
    @kelartis 5 років тому +12

    I have been looking at my assignment for weeks now not knowing where I was going wrong. Amazing how a 5 minute video can clear things up so quickly. Cheers bud!

  • @tyjenki
    @tyjenki 4 роки тому +1

    I am just starting to learn how to code and this was extremely helpful. Please please please keep posting short tutorials like this - very helpful!!

  • @jamesbest2221
    @jamesbest2221 6 років тому +4

    This is great! A 5-minute intro/blast is all I need..and with a couple of your curated links below, it is perfect to get me up and running! Note: a "series" of 5 minute videos, each covering a specific topic within the main topic (in a playlist format) would be the best of all worlds! Thanks so much Kevin!

    • @KevinPowell
      @KevinPowell  6 років тому +1

      I have trouble staying under 5 minutes, lol. That was the plan when I created this video, and I do have a coding quickies series, but things tend to drag out most of the time.

  • @seantivenan9593
    @seantivenan9593 5 років тому +49

    The one line that changes everything "the last rule always wins" Untill I heard this I spent hours getting nowhere Thanks great tutorial !! and nice a sucsinct.

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

      It's so hard to code most of the time, I don't even know why I'm doing it at this point.

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

      @@scriptonly8728 the thing is you bang your head on the wall for a week, then it all falls into place and you wonder why it ever seemed so difficult! Thats why you can keep going the successes get you there 😂😂

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

      This is exactly what I was thinking.. I almost gave up until I found this video and comment. 🤣🤣

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

      @@seantivenan9593 that was me learning traversals in JavaScript.

  • @mdml9062
    @mdml9062 7 років тому +11

    Thanks for the quick rundown, exactly what I needed~

    • @KevinPowell
      @KevinPowell  7 років тому +3

      Glad to hear that! Glad it helped.

  • @XYZ48459
    @XYZ48459 7 років тому +5

    Media queries almost seem "simple' now! After hours in class, I should have known it was so easy!
    Thank you

    • @KevinPowell
      @KevinPowell  7 років тому

      I'm glad the video helped to make it easier to understand!

  • @ivyscripting7240
    @ivyscripting7240 6 років тому +2

    This was amazingly helpful! It’s always the mark of a good teacher who can break down these subjects quickly and easily, and this was exactly the primer I needed.

    • @KevinPowell
      @KevinPowell  6 років тому +1

      Glad that it helped you out, and thanks for the kind words!

  • @saurabh75prakash
    @saurabh75prakash 4 роки тому

    Your speed of content delivery is just so right. Thanks a lot.

  • @noelxxiv9382
    @noelxxiv9382 5 років тому +1

    Hi Kevin, always the best tutorials. I feel 10-15 mins is the best for someone who wants to learn something new.

  • @riyagoswami4925
    @riyagoswami4925 4 роки тому

    Loved this '5-minute' format! Although I have been following your other tutorials for responsive webdesign, I had a 'quick question' and got the 'quick-answer'.

  • @Abaramotorai
    @Abaramotorai 5 років тому +1

    That is so what I was looking for. Fast concepts to better grasp CSS. Thank you so much.

  • @alibaba8266
    @alibaba8266 5 років тому +1

    The only CSS refresher Video Series I watch .

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

    What I love is how these are great quick reminders for beginners and devs who have been writing/editing code but occasionally forget certain things

  • @kristylee5572
    @kristylee5572 5 років тому

    Great video! The topics were covered so quickly and now I feel more confident in designing responsive websites.

  • @RPA99
    @RPA99 6 років тому

    I was struggeling with media queries, but this video explains them perfect. Thanks man

  • @philmyglass877
    @philmyglass877 4 роки тому

    Awesome video. Short, precise and super informative. Covered everything I needed to know about media queries without being verbose. Thanks!

  • @seanrhone5306
    @seanrhone5306 4 роки тому

    GREAT 5 min intro that pointed out the basics!

  • @enverko
    @enverko 5 років тому +2

    Just recently started learning about responsive design and this video although covering a relatively basic concept still helps tremendously! Thank you!

    • @KevinPowell
      @KevinPowell  5 років тому +2

      No problem at all, glad you liked it :)

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

    The best media query tutorial on UA-cam 😍

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

    love this 5 minute format. as an experienced coder i don't need the long version. ty

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

    I appriciated it a lot with just 5 mins. As you say if you just need a quick info to move on in the project, it's a hell to watch 25 mins to be sure not to miss anything important :)

  • @RobFos
    @RobFos 6 років тому +1

    Awesome :) thank you. - I was stuck for 4 hours during an online course. and you explained it flawlessly in 5 minutes. - Thank you.

    • @KevinPowell
      @KevinPowell  6 років тому +1

      No problem Robert, I'm happy that I was able to help :)

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

    Awesome video!!! Exactly what I needed and totally understandable! Thanks Kevin!

  • @user-of1td7uh2h
    @user-of1td7uh2h Рік тому

    Wonderful tutorial short, and to the point, thank you!

  • @JoseMendoza-cq5jf
    @JoseMendoza-cq5jf 4 роки тому

    Short, sweet and to the point. I love it...

  • @pw4677
    @pw4677 5 років тому

    I really appreciate how you cut out the fluff and get to the point! Very helpful video.

    • @KevinPowell
      @KevinPowell  5 років тому +1

      No problem! I tend to add lots of fluff to my videos (I go waaay to indepth sometimes, lol), but am happy with how this one turned out and have plans for more short ones like this going forward!

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

    Love this video! I just wanted my media query skills to be refreshed and this video is perfect for that. Thank you 😀

  • @arjunlubana9720
    @arjunlubana9720 4 роки тому +1

    I liked the video. It's straight to the point. You should do more of these.

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

    Great video, straight to the point and clear content. Thanks Kevin

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

    This changed everything. Thank you.

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

    Until your consice and logical explanation I struggled with media queries. Good job. Looming forward to more from your channel.

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

    Fantastic! I just came over from your tutorial to build a portfolio site. I love the idea for 5-minute tutorial series! Thank you!

  • @afsanazamannipa7711
    @afsanazamannipa7711 4 роки тому +1

    wow,,,,,for the first time learned about using landscape and portrait within media query... very informative video. thanks...

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

    Thank you - right to the point and you focused in on the code so we could actually see what you were doing.

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

    Brevity and concise! Clear and awesome thank you!

  • @coderlady_
    @coderlady_ 5 років тому

    hi, I like these 5min videos, straight to the point ! thank you

  • @hamzazia6763
    @hamzazia6763 4 роки тому

    Kevin Thank you so very much, so concise and easy !!
    Love every bit of this video, Keep up the Great Work !!

  • @danielquiala1553
    @danielquiala1553 2 місяці тому

    It works really well, your explanation is straight to the point. Many thanks

  • @AzurineHighlander
    @AzurineHighlander 4 роки тому

    bravo! I love this 5 min concept. Well done and right on point!

  • @user-gk9ut9qc1o
    @user-gk9ut9qc1o 7 місяців тому

    Concise and clear, thank you!

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

    Simple and straight forward

  • @travellerOnFeet
    @travellerOnFeet 6 років тому

    5 mins and you know enough to start getting your hands dirty. Perfect approach. Thanks a lot..

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

    It was really helpful. Thanks Kevin!

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

    Very efficient and helpful !
    Thank you

  • @NK-xk6bb
    @NK-xk6bb 3 роки тому

    Kevin, you really are the best.

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

    thanks, exactly what was looking for! skipped half of the video, understood in just few words, very nicely done!

  • @a-girl-has-no-name
    @a-girl-has-no-name 4 роки тому

    Nicely done!! Please make more such videos!

  • @mrtlheck
    @mrtlheck 5 років тому

    Awesome ... This was the fastest I've ever got a question answered and was able to put it to use right away. Great job.

    • @KevinPowell
      @KevinPowell  5 років тому

      Super happy to hear that Terry!

  • @williambiggs2308
    @williambiggs2308 6 років тому

    Thank you for the great instruction Kevin.

  • @Kevin_Zed
    @Kevin_Zed 4 роки тому

    AWESOME! This helped so much now I know where I'm going wrong thank you. Yes, the long videos are too much for idk.

  • @rahulratwatte107
    @rahulratwatte107 5 років тому

    Thanks a lot. Very concise yet informative.

  • @kidbrave_7673
    @kidbrave_7673 5 років тому +1

    Awesome video thank you for making it super fast and to the point of what media queries are I totally understood the concept and now I can move on lord willing from a problem I've been stuck on for a project for the pass 2 weeks. 😅

  • @jeltehoekstra2952
    @jeltehoekstra2952 4 роки тому

    yo dude, i'm normaly a bit more of a backend guy. But i had to do frontend for this project that we have atm. This explained everything i need. tnx and the best to you :D

  • @mrg3921
    @mrg3921 4 роки тому

    Short and useful. Good job, thank you.

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

    This has been very helpful... thank you!

  • @randymurray934
    @randymurray934 4 роки тому

    How did i just find this channel now.. this is what i want in a tutorial channel for sure.

  • @antonionicasio8559
    @antonionicasio8559 4 роки тому

    Hi, @Kevin Powell very helpful quick tutorial

  • @filipfrycak4577
    @filipfrycak4577 6 років тому

    Perfect! Thank you for saving my time

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

    Everthing was wonderfull and full informative.

  • @vinay9435
    @vinay9435 4 роки тому +1

    thanks bro....In just 5 minutes i got media-query.u r cool

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

    Literally a life saver!!!!!

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

    Thanks a lot for this video! Much appreciated

  • @christianherrera9524
    @christianherrera9524 5 років тому

    love your instruction videos, super helpful man.

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

    Thank you so much!!! Helped me!!! you really made my day. Keep it up bud and stay safe and healthy!!!

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

    Thank you so this concept was giving me so much trouble but your video explained it so clearly. Excited to build some landing pages using mobile first development after learning this!

  • @danijmartinez
    @danijmartinez 4 роки тому

    Great video. Informative and to the point. Thank you!

  • @sijuv2385
    @sijuv2385 4 роки тому

    Hey Kevin, you are just awesome man.. Good Work.. Keep doing. Thanks for the video.

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

    Hey kev keep the others up as well as this format please. Love from DR

  • @rajagupta677
    @rajagupta677 6 років тому

    Just amazing got to know much than required. Thanks

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

    wow, this is fast and easy to understand!

  • @Ko0lHaNDLuKex
    @Ko0lHaNDLuKex 6 років тому

    This was amazing. It cleared up some silly questions I had about media queries. Thank you!

    • @KevinPowell
      @KevinPowell  6 років тому

      Great to hear that it helped!

  • @KhanHamza
    @KhanHamza 4 роки тому +1

    U r an amazing instructor man..... Thanks..... Subscribed ❤️.....

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

    great explanation of why to use max-width over min-width and vice versa. I never understood why to use min-width, but designing mobile first makes sense.

  • @creativemarketingtechnique6924
    @creativemarketingtechnique6924 5 років тому

    Thank you. Straight to the point.

  • @ekejma
    @ekejma 4 роки тому

    I'm a huge fan, thanks so much.

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

    Thank you so much. It helped alot. very straight forward, clear and short.
    -IT student

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

    This helped heaps, thanks!

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

    Great video as always.

  • @reganrayner9884
    @reganrayner9884 5 років тому

    I love you style my friend i wish there were more people like you who just cut straight to the point genuinely wanting to help when i get better in this business i will hope to do the same

    • @KevinPowell
      @KevinPowell  5 років тому

      Glad you liked it :D - Not all my videos are this to the point, I tend to drag things out at times! Word of warning if you start watching more of my stuff :P

  • @pika7037
    @pika7037 6 років тому +1

    I love complete details and maybe also others, so please make big videos and then cover every single detail about that topics. Thank you so much Kevin : )

    • @KevinPowell
      @KevinPowell  6 років тому +3

      For me, it depends on the topic. For something like media queries, I figured I could cover the basic concept really fast, and that through practice people would understand it more. With others, as you've seen, I do go more in depth :).

    • @pika7037
      @pika7037 6 років тому

      Thanks Kevin

    • @divbydiv6426
      @divbydiv6426 5 років тому

      For all details about media queries you can checkout developer.mozilla.org they have a very detailed documentation here the link developer.mozilla.org/en-US/docs/Web/CSS/Media_Queries/Using_media_queries. @kevin good job 👍🏻

  • @Brian-dd2df
    @Brian-dd2df 6 років тому

    Concise and to the point, awesome!

    • @KevinPowell
      @KevinPowell  6 років тому

      I'm glad you liked it Brian!

  • @noumanmustafa7435
    @noumanmustafa7435 4 роки тому

    Thanks buddy, you saved me a lot of time, such a good explanation in short time.

  • @Shafty17
    @Shafty17 7 років тому

    Kevin our MVP! :)
    Thanks a lot!

    • @KevinPowell
      @KevinPowell  7 років тому

      You're welcome, glad you liked it!

  • @Makwayne
    @Makwayne 6 років тому

    Helped a bunch, thank you!

  • @yollaifliandry495
    @yollaifliandry495 5 років тому

    Thank you. I like this video. Very clear explanation. Duration time is good.

  • @clarktorres5648
    @clarktorres5648 7 років тому

    This was totally awesome and exactly what I needed. Thank you!!!

    • @KevinPowell
      @KevinPowell  7 років тому

      Awesome to hear Clark, glad it helped!!

  • @keomamallett6536
    @keomamallett6536 6 років тому

    Great video; brilliant idea to do informative videos at that length.

    • @KevinPowell
      @KevinPowell  6 років тому

      For some topics it can be hard, but I'm happy I pulled it off for this!

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

    Dude you are amazing!

  • @desertpanda4103
    @desertpanda4103 6 років тому

    Thank you! Great post exactly what I needed!

  • @__greg__
    @__greg__ 6 років тому

    Great overview, thanks!

  • @apekshitsonawane8378
    @apekshitsonawane8378 4 роки тому

    Keep it up i love your tut videos thank you and stay safe

  • @arhabersham
    @arhabersham 6 років тому

    Dude, this is AWESOME :D