Media Query in CSS [Easiest Way] | How To Write Media Queries FAST

Sdílet
Vložit
  • čas přidán 5. 09. 2024

Komentáře • 81

  • @Smiley-vp4ro
    @Smiley-vp4ro Před rokem +5

    very well explained and easy to understand. Thank you so much

  • @dashingboidash1103
    @dashingboidash1103 Před 8 měsíci +3

    thank you so much this tutorial is so comprehensive

  • @Bhagbe
    @Bhagbe Před 4 měsíci +1

    Straight to the point.

  • @abinashmandal6202
    @abinashmandal6202 Před rokem +3

    God bless you for explaining so well

    • @CodeBlessYou
      @CodeBlessYou  Před rokem

      God bless you too Thanks for your support😀❤

  • @saffron2965
    @saffron2965 Před 2 lety +8

    such an amazing explanation skill!
    thanks a lot and keep it up!

  • @INAYAT_55
    @INAYAT_55 Před rokem +6

    Good simple short and point to point 💯🔥

  • @user-lc8oz1dg6t
    @user-lc8oz1dg6t Před rokem +2

    I LOVE how you explain it. Clear and Simple👍

  • @indumalipeddi5575
    @indumalipeddi5575 Před 3 měsíci

    Thank you for the crystal clear explanation 🙂

  • @Kishorbeere
    @Kishorbeere Před rokem +1

    Excellent. no lag, only points .

  • @jaxsriv1052
    @jaxsriv1052 Před rokem

    Bhai who are you and what are you, from last 5 days Yoh have solved like ever single problem of mine regarding front end. Kudos to you

    • @CodeBlessYou
      @CodeBlessYou  Před rokem

      I just want to help others... BTW Thanks for Commenting, It means a lot to me❤

  • @SadhviKesarwani
    @SadhviKesarwani Před rokem +1

    Bro you are really amazing. thankyou so much ☺️☺️☺️☺️☺️

  • @vivekyadav2566
    @vivekyadav2566 Před 4 měsíci

    you are gr8 ..it simply class langauge to teach

    • @CodeBlessYou
      @CodeBlessYou  Před 4 měsíci

      Thank you so much for your support❤❤❤

  • @mkamranusmanipk
    @mkamranusmanipk Před rokem

    thanks for the best explanation of media query.

  • @dance_j
    @dance_j Před 5 měsíci +2

    I wrote media queries for xxl screens by keeping laptops setting scale 100% . Now for resolution 1920*1080 its working properly on 100% scale but if I change scale to 150% or 125% then main model of my login page is going down, how I can fix this?

    • @CodeBlessYou
      @CodeBlessYou  Před 5 měsíci

      You can use Position fixed for fixing elements.

  • @RuweydaMohamedFarah
    @RuweydaMohamedFarah Před měsícem

    thanks a lot

  • @RidaWebDev
    @RidaWebDev Před 22 dny

    Thank you for this great video it is edited so well and you did a great job of explaining. i just have a few questions though. how do you know what the breakpoint is when resizing the screen? And of course there are many different screen sizes in the world but we don't know all of them. so how do you make the website accurately sized so it looks good in all screens? Also around here 3:14 you talked about the chrome dev tools and how to see different devices. My question is that there some devices missing for example there is no option for a windows laptop so is there any way i can fix this problem? apologies if this doesn't make sense i am still quite unsure about media query's. thanks again for the video. just subscribed and liked!

    • @CodeBlessYou
      @CodeBlessYou  Před 22 dny +1

      See we design website for all devices. But we can't make them perfect for all the devices. That's why in media query we cover ranges. For example, 378px to 480px. If any device width is between this size, we apply styles for those devices.

    • @RidaWebDev
      @RidaWebDev Před 21 dnem

      @@CodeBlessYou thank you, i understand now.

  • @vibes1667
    @vibes1667 Před 11 měsíci

    Thank you 🙂🙂 it's very very helpful

  • @sereneflatun
    @sereneflatun Před 4 měsíci

    Thank you

  • @mightydawnweb
    @mightydawnweb Před 8 měsíci

    Great explanations! Thank you! And how do you set up VS Code to do those awesome keyboard shortcuts? I need that!

    • @CodeBlessYou
      @CodeBlessYou  Před 8 měsíci +1

      I didn't set anything for shortcuts. They are made by VS code❤❤

    • @mightydawnweb
      @mightydawnweb Před 8 měsíci

      @@CodeBlessYou Oh, because I tried doing it in my VS Code and it didn't work. There are so many ways to customize VS Code so maybe you've got some extension or something that makes it work. I'll google it and find it. Thank you! And thank you for your tutorials!

    • @CodeBlessYou
      @CodeBlessYou  Před 8 měsíci

      You can watch my VS code extension video on my channel. You will get all @@mightydawnweb

  • @zameerahmed1775
    @zameerahmed1775 Před 2 lety +1

    good explanation .......

  • @yusufalhaji8275
    @yusufalhaji8275 Před rokem

    thanks for the clarification 👍

  • @cyblixdcode
    @cyblixdcode Před rokem

    Thanks, I learned alot from this.
    please, what is the name of the extension you used.

    • @CodeBlessYou
      @CodeBlessYou  Před rokem +1

      Which extension? For theme I use AYU Mirage

  • @apurvakoli746
    @apurvakoli746 Před 5 měsíci

    Hey brother. I had a request. Can you please make a video on "vertical three-dots", "⋮" like how to make it more effective?
    As we see in various web pages. For example, the three dots in the Flipkart website are at the top-right corner. Consider in Flipkart webpage, as we hover over it, the options are displayed even the options div part goes in another div. So can you please help with this.

    • @CodeBlessYou
      @CodeBlessYou  Před 5 měsíci +1

      I will make tutorial on that but it takes time to upload

    • @apurvakoli746
      @apurvakoli746 Před 5 měsíci +1

      @@CodeBlessYou Yes I'll wait for the video. Thanks.

  • @soojn0072
    @soojn0072 Před 2 lety

    THANK YOU SO MUCH, IT WAS SO WELL EXPLAINED!!

  • @bunyameennurudeen173
    @bunyameennurudeen173 Před 2 lety +3

    Very useful and helpful.
    Thanks.
    can you please make a video to explain the concept of min-width and max-width in regards to media query. like the behaviors of each

    • @CodeBlessYou
      @CodeBlessYou  Před 2 lety +3

      Sure I will, Also right now I am working on HTML and CSS Master Course (10+ hours)... But It takes a lot time in filming, editing and all this things. But I will try my best to complete that as soon as possible :)

  • @DeepakGupta-hj2dv
    @DeepakGupta-hj2dv Před 2 lety

    Can you make a video React unit testing

  • @sumantadas8216
    @sumantadas8216 Před rokem

    Mast explanation

  • @jorgeberruete4537
    @jorgeberruete4537 Před 2 lety

    I tried using this method and I’m having trouble to show display: block in media queries and this is how my code would be setup
    .example-class {
    Display: flex;
    }
    @media screen and (min-width: 480px) {
    .example-class {
    Display: block;
    }
    }

    • @CodeBlessYou
      @CodeBlessYou  Před 2 lety +1

      Try to inspect using chrome dev tools...
      If you still face same error, You can contact me on Instagram :)

  • @williamkakooza4603
    @williamkakooza4603 Před 10 měsíci

    Thanks

  • @ausafali945
    @ausafali945 Před 3 měsíci

    BUT HOW TO FIX OUR WEBPAGE WITH SAME HEIGHT,WIDTH AND OTHER PROPERTIES ON EVERY DEVICE, LIKE PC,LAPTOP OR MOBILE,TABLETS HAVING DIFFERENT SIZES? KINDLY MAKE A VIDEO ON IT

  • @fulltomasti9421
    @fulltomasti9421 Před rokem

    Bro whin i apply media query and go to live server page box was not visible why

    • @CodeBlessYou
      @CodeBlessYou  Před rokem +1

      I think, you apply wrong condition for media query.. Try to inspect the page and try to find the box

  • @ispahan5842
    @ispahan5842 Před 2 lety

    nice video!

  • @asrar3894
    @asrar3894 Před rokem

    Hello, Can you tell me is Media Query a class or not?

    • @CodeBlessYou
      @CodeBlessYou  Před rokem

      No Media Query is not Class. We define styles inside media query

  • @Kishorbeere
    @Kishorbeere Před rokem

    Subscribed 😅

  • @r.zaheerofficial5278
    @r.zaheerofficial5278 Před rokem

    copy from code with herry.

    • @CodeBlessYou
      @CodeBlessYou  Před rokem +1

      @CodeWithHarry is inspiration for me brother❤

  • @vincentyap6376
    @vincentyap6376 Před 5 měsíci

    I need help

  • @AbuhanifDewan
    @AbuhanifDewan Před 2 lety

    thanks