Learn CSS display property in 4 minutes! 🧱

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ก.ย. 2023
  • #CSS #tutorial #explained
    CSS display block inline inline-block tutorial example explained

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

  • @BroCodez
    @BroCodez  ปีที่แล้ว +20

    Bro Code

    div
    span
    Lorem, ipsum dolor sit amet consectetur adipisicing elit. Aperiam asperiores doloremque repellendus quibusdam, quasi reprehenderit nesciunt illum repudiandae illo ad perspiciatis voluptas velit dicta similique veritatis quos non explicabo vel.
    /* style.css */
    div{
    background-color: hsl(0, 100%, 75%);
    width: 100px;
    height: 100px;
    display: block;
    }
    span{
    background-color: hsl(204, 100%, 75%);
    width: 100px;
    height: 100px;
    display: inline;
    }

  • @augustinejoseph4302
    @augustinejoseph4302 3 หลายเดือนก่อน +7

    thanks bro, I was wondering what the heck is inline-block . Today I got it clear... thanks again...

  • @marianuntaru7940
    @marianuntaru7940 หลายเดือนก่อน +1

    After watching some videos and still struggling finally you brought the light! Easy and straight to the point ! Thank you!

  • @JayantBB78
    @JayantBB78 3 หลายเดือนก่อน +2

    No nonsense, right to the point video. 👍🏻

  • @joshuamensah9309
    @joshuamensah9309 6 หลายเดือนก่อน +3

    Absolutely legendary video 💯

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

    Wow. Great explanation.. u got subscriber

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

    Amazing bro

  • @user-nv8rm5yx8z
    @user-nv8rm5yx8z 7 หลายเดือนก่อน

    That's awesome explanation Bro Code!]

  • @nateroskelley7565
    @nateroskelley7565 8 หลายเดือนก่อน +5

    This makes sense, and I understand how block, inline, inline-block, and none work together. Looking at it like this, it seems like display refers to how an element interacts with the elements around it.
    But there's 2 more display properties: Flex, and grid. I understand the choice not to include them in this video, they are large enough topics that they deserve their own video. But I don't really understand why display defines the way that the element interacts with the elements around it sometimes, and defines the way that the elements inside it interact other times. Could you explain what exactly display is supposed to be doing?

    • @user-nv8rm5yx8z
      @user-nv8rm5yx8z 7 หลายเดือนก่อน

      Exactly!
      I am just out of my confusion!
      by the way what do you do now and how far are you in learning code bro?

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

    Very good explanation. Thank you Bro Code!

  • @Wadih-bc
    @Wadih-bc 2 หลายเดือนก่อน

    Very much appreciated! Thanks :)

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

    Easy to understand, thank you brother

  • @surfas5434
    @surfas5434 9 หลายเดือนก่อน +7

    OMG looks like we are heading to another 10 hours bro code course

  • @thedevil6397
    @thedevil6397 8 หลายเดือนก่อน +1

    Tysm for this 😇

  • @vs-cd6qq
    @vs-cd6qq 6 หลายเดือนก่อน +1

    Thank you

  • @cartoondhamaka5897
    @cartoondhamaka5897 7 หลายเดือนก่อน +1

    thank you

  • @_sun-shine-youtube.
    @_sun-shine-youtube. หลายเดือนก่อน +1

    ❤❤❤

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

    nice

  • @halcyon__r3289
    @halcyon__r3289 8 หลายเดือนก่อน +1

    Ty

  • @user-op9rh8oe2h
    @user-op9rh8oe2h หลายเดือนก่อน

    Bro Code is the goat

  • @MasumExtended-jt4ty
    @MasumExtended-jt4ty หลายเดือนก่อน

    Not Bro Code..
    Its Best Code Channel..

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

    Thanks

  • @sagnikdeb7516
    @sagnikdeb7516 3 หลายเดือนก่อน +1

    Thanks bro because I was not able to understand it until I saw this video.

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

    thank a milion

  • @Baraa_kj
    @Baraa_kj 2 หลายเดือนก่อน +1

    bro i was stack in inline for 1h and u help me 🙏

  • @rouisaek
    @rouisaek 7 หลายเดือนก่อน +1

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

    Which one is best to use?
    Display: none
    Visibility: hidden
    -or-
    Opacity: 0

  • @user-mj6oj4do7d
    @user-mj6oj4do7d 5 หลายเดือนก่อน

    Really useful but you talk too fast, I can barely here you.

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

      You can reduce the playback speed to .75 or .5 if you want to