CSS Tutorial For Beginners 10 - CSS Conflicts & the Cascade

Поделиться
HTML-код
  • Опубликовано: 8 июн 2015
  • Heey class! Today we're going to tackle what happens when you run into CSS simple conflicts and how the cascade (from Cascading Style Sheets) plays a part in resolving those conflicts. Remember, Cascading mean falling downwards - from top to bottom. That means that CSS is read from TOP to BOTTOM!
    If you have any questions about this CSS tutorial, comment below.
    Please like & subscribe if you enjoy, ninjas :).
    SUBSCRIBE TO CHANNEL - / @netninja
    ========== CSS for Beginners Playlist ==========
    • CSS Tutorials For Begi...
    ========== HTML Basics Course ==========
    • HTML Tutorials For Beg...
    ========== The Net Ninja ============
    For more front-end development tutorials & to black-belt your coding skills, head over to - / @netninja or thenetninja.co.uk
    ========== Social Links ==========
    Twitter - @TheNetNinja - / thenetninjauk

Комментарии • 49

  • @craigbowers4016
    @craigbowers4016 7 лет назад +39

    You seriously made this so simple to understand. Elucidating something that the course I'm taking made sound like building a nuclear bomb or something!
    THANK YOU!
    I am so going to share these videos with anybody that shows minimal interest in web development!

  • @francisjacquart9618
    @francisjacquart9618 2 года назад +1

    MY GOD! THIS IS ALL SO BRILLIANTLY EXPLAINED! I HAVE FINALLY UNDERSTOOD THIS CSS CONFLICT STUFF, WHICH HAS PLAGUED ME IN OTHER COURSES. YOUR WAY OF GOING THROUGH WHAT THE BROWSER ENGINE DOES TO APPLY THE STYLES JUMPING FROM THE HTML TO CSS BACK AND FORTH, WHILE CASCADING MAKES IT CRYSTAL CLEAR. THANKS SO MUCH FOR THAT! I FEEL SO HAPPY TO UNDERSTAND THAT NOW AND I ALSO FEEL, THAT I WILL BE ABLE TO APPLY ALL THAT IN THE FUTURE! MY PROFUSE THANKS! YOU ARE REALLY AN EXCELLENT TEACHER!

  • @NetNinja
    @NetNinja  9 лет назад +2

    Tackle #CSS #conflicts like a pro ninja! ruclips.net/video/4oPvurjpcNw/видео.html #free #tutorial. Keep on coding ninjas (|:|)-\-

  • @Marsell88
    @Marsell88 5 лет назад +5

    "I've forgot which color HE told me..."
    lol :)

  • @samehabbadi8243
    @samehabbadi8243 7 лет назад +6

    I wonder how is it that easy for you to provide that much of information in a short time! Thank you

    • @protech1987
      @protech1987 7 лет назад +1

      he is a genius, I am glad he follow me on twitter :D.... I learn so much from him

  • @onlythebrave7635
    @onlythebrave7635 3 года назад +2

    Thanks Shaun. You've made it so much fun! I think I'm gonna watch all your vids :3
    Hope you get all the bests in your life. Take love.

  • @PerryDolia
    @PerryDolia 7 лет назад +13

    That was a really good American accent.

  • @saint2kii
    @saint2kii 5 лет назад +2

    Yo Ninja. BIG thanks, a friend gave me a web development course. I saw your vids just for clarify some terms like positioning. But now i find myself redoing my full course on your channel.
    This you have here, is a hell of a great content.
    Once again thanks for doing this.

  • @marvinpolanco6010
    @marvinpolanco6010 10 месяцев назад

    Thank you so much! You explained it very well like how I wanted!

  • @Seekingtruth-mx3ur
    @Seekingtruth-mx3ur 2 года назад

    You and Stef Mischook have similar teaching styles. Both good teachers. Keep it up!

  • @dreamzilla9938
    @dreamzilla9938 5 лет назад +2

    Great! :) Now, how to find those conflicts once I would want to tidy up?

  • @rayankhan12
    @rayankhan12 2 года назад

    You really make things simple, beginner friendly and easy to understand. Thank you so much :))) btw, your accent is smexy af. :P

  • @dev20114
    @dev20114 9 месяцев назад

    Thanks Man!

  • @deeproy7292
    @deeproy7292 6 лет назад +1

    thank you

  • @dubhe27
    @dubhe27 3 года назад

    that was a good american accent impression! great vids man

  • @raiyaan7301
    @raiyaan7301 2 года назад

    Thanks man

  • @lancer7344
    @lancer7344 3 года назад

    Net ninja the best of the best
    Respect from US

  • @isaccLIBERIA
    @isaccLIBERIA Год назад

    I love this explanation

    • @NetNinja
      @NetNinja  Год назад

      Hope it was helpful Isaac! :)

  • @ahmetyazc4961
    @ahmetyazc4961 4 года назад

    let say the span selector at the top has the color and font-size attributes, and the bottom span selector has only color attribute, is it gonna overwrite color and keep the font-size attribute that is given in the top, or is it gonna delete all the attributes and then color it as in the bottom span?

  • @amesmerisedbeing
    @amesmerisedbeing 2 года назад

    Thank you so much. Could you please lighten up the “identical “ a bit? You mentioned it few times and still I don’t get it

  • @Khan_2025
    @Khan_2025 6 лет назад

    thx

  • @bijuu_boy3907
    @bijuu_boy3907 Год назад

    You said you can only use an id once in a page and a class multiple times in a page. But there is an id for header and one also for content-header. Are those not two id’s. And can they both be tagged once or just one of them.

  • @89Ssik
    @89Ssik 2 года назад

    1:54 🤣 this happens to me always when mind is faster than tongue

  • @whynot-vq2ly
    @whynot-vq2ly 3 года назад

    I avoided the first waaa but the forgot about the second :/
    just a little contribution, overriding styles can be visualized using the browser devtools

  • @Laurenan69
    @Laurenan69 6 лет назад

    Ive got a question: I put the whole body tag inside a div tag called "main". Now i targeted the body tag in css,but change something in the html doc OUTSIDE the bodytag (between the body tag and the closing div main tag)-> the css also changed the text outside the bodytag. Shouldnt it only change the color within the bodytag? like this: HTML:

    • @89Ssik
      @89Ssik 2 года назад

      if its only rule used it applies to everything, you need to be specific for your #div id and put rules onto it, 3 years later ...

  • @eugenef4671
    @eugenef4671 5 лет назад +1

    Where is the sound?

  • @inovexa4039
    @inovexa4039 4 года назад +1

    Im soon gonna be a net ninja🙂👊❤❤❤

  • @markbaladad6710
    @markbaladad6710 6 лет назад +2

    Dang why couldnt i have found you sooner

    • @cforge2411
      @cforge2411 5 лет назад

      my thoughts exactly
      this is a kick-ass dojo

  • @EricCartmanFTW
    @EricCartmanFTW 7 лет назад +16

    Who else thought they got a skype message 5:09

  • @Raysar_578
    @Raysar_578 9 месяцев назад

    simple

  • @Berk45632
    @Berk45632 3 года назад

    Why do you even want to create conflicts? Just have one specific selector targeting a certain tags.

  • @Johnyindo387
    @Johnyindo387 5 месяцев назад +1

    Botak 😊

  • @ukaszcezary8870
    @ukaszcezary8870 6 лет назад

    So we climb on these cascade up - thx

    • @box.withme
      @box.withme 3 года назад

      still I didn't get it what is Cascade?

  • @HabibUrRahman-mu8zf
    @HabibUrRahman-mu8zf 7 лет назад

    what web ide u r using??

    • @NetNinja
      @NetNinja  7 лет назад +1

      In this video Brackets.io but I am using Atom now :)

    • @rileysockwell6724
      @rileysockwell6724 7 лет назад

      What packages in atom? Could you do a video about your atom setup?

    • @cforge2411
      @cforge2411 5 лет назад

      @@NetNinja ah man, I left atom to follow this on brackets here.
      Though brackets is pretty cool. especially the vertical split and the Ctrl + E
      P.S. best dojo ever

  • @sulaymanzaraei8473
    @sulaymanzaraei8473 5 лет назад +1

    That American accent offended me I believe I am entitled to a compensation of all your merch and

  • @Cool_Boys-jz1zv
    @Cool_Boys-jz1zv 2 года назад

    Who is here from school??