CSS Box Model - Margin, Padding & Borders | Sigma Web Development Course - Tutorial #18

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ต.ค. 2024

ความคิดเห็น • 3.5K

  • @CodeWithHarry
    @CodeWithHarry  11 หลายเดือนก่อน +507

    8:49 - Many viewers have expressed curiosity in the comments regarding why the computed border appears as 1.6px instead of 2px. This discrepancy is a result of my default display scaling setting, which is set to 125% on Windows. Additionally, I have applied a zoom setting in Chrome. To view the precise border value, it is necessary to reset both the display scaling in Windows and the browser zoom to 100%. I hope this clarification addresses your queries! #SigmaBatchOp

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

      #Sigmabatchop

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

      #SigmaBatchOp

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

      #SigmaBatchOp

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

      #SigmaBatchOp #HarryBhaiThanks

    • @lovingboybasu143
      @lovingboybasu143 11 หลายเดือนก่อน +2

      #SigmaBatchOp

  • @muneebazher8068
    @muneebazher8068 11 หลายเดือนก่อน +595

    Harry sir we know the views and engagement are decreasing day by day and it also disheartening but please don't stop , we believe in you ,I try my best to engage in every way possible. So don't get disappointed and let's take this course to next level ❤❤

    • @Dataabc
      @Dataabc 11 หลายเดือนก่อน +23

      We will support him till the last ❤❤

    • @gurmeetkaur9473
      @gurmeetkaur9473 11 หลายเดือนก่อน +17

      Yes I will support till the last❤❤

    • @computerscout331
      @computerscout331 11 หลายเดือนก่อน +22

      I think some people get more confidence in html and css . but i injoy this course . i sure when harry bhaiya started js and react then views autometically increase .
      But i request to harry bhai Please Cover html and CSS part in deep level
      Full support frome me ❤❤

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

      @@computerscout331 Absolutely that's what we want

    • @BhumiAhuja-g1x
      @BhumiAhuja-g1x 11 หลายเดือนก่อน +12

      Yes we will support till end

  • @jibrankhan512
    @jibrankhan512 หลายเดือนก่อน +12

    1.Margin: border ke bahar ke space
    2.padding : content ke bahar ki space aur border ke andhar ke space ,(yani ke border aur content ke beech ke space).
    3.box-sizing:border-box; is ka matlab yeh ke jab bhi height content ko mile gi tu wo border aur padding ko mila ke milai gi.
    4.margin-collapse: jab do margin ho toh us mein jo bada margin hai wo lage ga .
    Question?
    Kya Id ek se zyada hosktai hai?
    Answer:
    Id do se zyada nahi hosktai Kyun ke id unique hai.Aur class hamare sath do se zayda hote hai.
    THanks Harry Bhai for this free and great content ♥ from Peshawar,Pakistan

  • @TejasWasnik
    @TejasWasnik 11 หลายเดือนก่อน +79

    Tutorial 18 done.✅
    ham kisi element ko ek sei zyada id nahi de sakte.
    box sizing border box matlab content + padding + border. without box sizing property sirf content ko hi height/width alot hogi. without border box property woh height/width sirf content ko alot hogi.
    Kafi maza aa raha hai iss course mei. keep it up harry bhaiya.
    SIGMA BATCH OP!

  • @themystic404
    @themystic404 7 หลายเดือนก่อน +80

    Harry bhai !! ! I was looking down at the inspect element code untill you said "Uper dekho Uper!! "🤣 this was the most interactive and funniest part uptill now ! Lots respect ! 🤗

  • @rummanakhtar4410
    @rummanakhtar4410 4 หลายเดือนก่อน +14

    Hi Harry, Salam. I had bought some popular web development courses in the past and watched some of the videos from them. Comparing this course with theirs, I can definitely say that Sigma Web Dev Course comes bundled with your years of experience. This CSS Margin collapse concept is one such example. In none of the courses they mentioned this, but this was such an important concept. This shows the quality of this course. This is the first time I am learning this concept. You have put so much effort for educating us. Thank you so much for the efforts and the quality content. #SigmaBatchOP

  • @IamHuzaifaFaisal
    @IamHuzaifaFaisal 11 หลายเดือนก่อน +114

    • We cannot assign multiple IDs to the element, ID of the element must be unique.
    • If we set box-sizing property to border-box it means the borders and paddings are now included in the total width and total height of the element.
    This course is getting interesting day by day, Harry Bhai thanks for this great course. Hum toh yeh course poora karkay hi ab aapka peechha chhorain gy. 😁😁

    • @jamitkumar7251
      @jamitkumar7251 8 หลายเดือนก่อน +2

      thanks i didnt know

  • @ManasAgrawal726
    @ManasAgrawal726 11 หลายเดือนก่อน +71

    Bhaiya you are great. The excitement of many people is continuously decreasing but you are uploading videos regularly. I can say with confidence that those who will learn web development from this course till end regularly will became a great web developer.
    We will feel you proud after making great production level websites by learning from your course. #SigmaBatchOP #HarryBhaiyaOP

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

    Don't stop making such amazing tutorials. These are really helpful. Thank you Harry bhai

  • @mdwazidali2967
    @mdwazidali2967 11 หลายเดือนก่อน +21

    I wanted to express my appreciation for your dedication and hard work as my online teacher. Your commitment to our education, adaptability in the digital learning environment, and the passion you bring to your virtual classroom have made a significant impact on my learning journey. Thank you for being an inspiring and supportive teacher.

  • @ronaldoxmessi481
    @ronaldoxmessi481 11 หลายเดือนก่อน +8

    The audience is not as much as before but applaud to your dedication and motivation pls dont stop this course it is really really helpful and modern. If you are new here I really recommend this course.

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

    KYA YAAR #harry bhai..maza aagaya ye wala lecture lekr..soo deep and clear

  • @ajeetverma3936
    @ajeetverma3936 11 หลายเดือนก่อน +17

    Ek(1) element mein Do(2) ID nahi di ja sakti hain kyunki yeh HTML ke Niyamon ke khilaf hai.
    Agar Do(2) alag alag elements mein ek(1) hi ID di jaye toh yeh dono elements uniquely identify nahi honge.
    Thank You so much Sir
    for Sigma Batch 😊🥳

  • @aniketpaul5334
    @aniketpaul5334 11 หลายเดือนก่อน +12

    1. No one element will take only one id, we can't give an element more then one id, coz id will be always unique for every element.
    2. box-sizing: border-box; means that a height/width of an element is equals to it's padding + border.
    Thanks Harry Bhai for these course❤
    #SigmaBatchOP🔥

    • @shuman_26
      @shuman_26 11 หลายเดือนก่อน +2

      Right

  • @saifali-vc1vu
    @saifali-vc1vu 7 หลายเดือนก่อน +2

    Wow. What a series. Kudos to you Harry for keeping this absolutely free. ✌

  • @VanshNagpal27
    @VanshNagpal27 11 หลายเดือนก่อน +28

    4:42 We cannot give more than 1 Ids to an element as it is used to uniquely identify an element just like our Adhaar Card.
    Thank you so much for this amazing course. #SigmaBatchOp

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

      abhi konse video pe pohche ?

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

      Abhi konse video pe pohche?@@relaxgaming6393

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

      @@relaxgaming6393 150

  • @wonderscraft
    @wonderscraft 11 หลายเดือนก่อน +29

    Sigma web course op ❤❤🎉🎉

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

    harry bhaiiii , box-sizng aur margin collapse concept clearly understood ✅✅✅, You are G.O.A.T 💯💯

  • @targetme5716
    @targetme5716 11 หลายเดือนก่อน +6

    Please don't stop Harry sir. Please explain every concept with funny and simple example. (Mai to ab sat chorne bala nehi hu

  • @CoderXyz-e6m
    @CoderXyz-e6m 11 หลายเดือนก่อน +4

    I was consistent all the time during this course but last week I fell ill and was not okay for 6 days , yesterday I sat down and completed all the backlogs and now I am up to date with the course , consistency is the key , #sigmabatchop

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

    this journey of this course for web dev course is very good

  • @Nitesh_Saini_
    @Nitesh_Saini_ 11 หลายเดือนก่อน +10

    No one can replace my coding teacher Harry bhai . We all are with you ❤

  • @ivishal101
    @ivishal101 11 หลายเดือนก่อน +121

    Summary of Lecture 18
    1. Margin: border ke bahar ki space
    2. padding: border aur content ke beech ki space
    3. By default height and weight specified to an element is consist of only content. (yaani height jo denge wo sirf content ki height hogi)
    4. box-sizing:border-box : when we use (box-sizing:border-box) and we give height or weight to an element then it consist of padding border and content (ab jo height denge wo content, border aur padding teeno ko mila ke hoga)
    5. Margin collapse: when Margin of 2 element overlap then only one margin will be apply which is largest of the two margins .
    6. ways to write (i) margin: nUnit; (ii) padding: nUnit; (iii) border: nUnite style color;
    Answer of Questions:
    1. No, an HTML element cannot have two id. ID is unique for an HTML element.
    Lecture 18 Completed ✅

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

      can you teach me do you put youtube logo in your comment

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

      leikin jab border box dete hain to woh height ko content, padding aur border pe kis ratio pe divide karta hai

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

      How you lut this logo in comment

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

      @@shaikhnuma9101 use websites on pc there you will see emogi icon.

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

      @@cookingstreet9362 aise put kiya

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

    Thank you so much Harry Bhaiya......❤❤❤
    I just never enjoyed any course that much like hell.....!!!!! ✨✨✨
    ⭐⭐⭐⭐⭐

  • @RAHULKUMAR-jw5ll
    @RAHULKUMAR-jw5ll 11 หลายเดือนก่อน +8

    Ek(1) element mein Do(2) ID nahi di ja sakti hain kyunki yeh HTML ke Niyamon ke khilaf hai.
    Agar Do(2) alag alag elements mein ek(1) hi ID di jaye toh yeh dono elements uniquely identify nahi honge.
    Thank You Sir
    for Sigma Batch op ☺😊

  • @Shrey546
    @Shrey546 11 หลายเดือนก่อน +4

    box sizing : border box if not applied then actual height of an element is equal to height(given by us to that element)+upper and lower border+ upper and lower padding.

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

    The border-box and margin collapse was for me ❤❤

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

    sorry bro i am attending the lecture after so long because suddenly i fall sick i am really sorry for that absence but i make sure from today i am not going to leave the batch #sigmabatchop thanks for your hardwork

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

    4:48 We can't give >1 ID to any element because IDs should be unique, as our Aadhar card numbers are unique.
    Tutorial - 18 Done ✅
    #SigmaBatchOP #HarryBhai
    Thank you Hary bhai for this amazing course ❤

  • @chandanbisht2977
    @chandanbisht2977 4 หลายเดือนก่อน +2

    • ID can only be assigned once per element and it must be unique.
    • If we set box-sizing property to border-box it means the borders and padding will now be included in the total width and height of the element.
    Harry bhai you are great😍 your course has included so many important concepts and you were right about the people who are confused and don't know margin collapsing. It was asked in my interview and I didn't knew about this topic. but I have practiced CSS by making so many projects I always wonder why my padding gets added up but not margin. Thankyou harry bhai on highlighting this topic. ❤

  • @khunzajidge4778
    @khunzajidge4778 11 หลายเดือนก่อน +4

    Ek element ki ek hi ID hosakti hai as you taught us earlier that ID is unique just like our aadhar 😀 and you teaching us with full clarification So shukriya aapka Harry Bhai and one request please answer our questions so that we connect with you more and solve our doubts😊#Sigmabatchop

  • @samyakpagariya1335
    @samyakpagariya1335 10 หลายเดือนก่อน +6

    Answer of the question at 4:44 is no we can't have more than one id for single element in the HTML. BTW very nice explanation by you Harry bhaiya.

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

      can any body pls tell me the reason also pls

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

      @@TheRahulChacha because this like the unique key of that element so every element can have only one key

  • @CodeNinja-u4g
    @CodeNinja-u4g 3 หลายเดือนก่อน

    Hey Harry Bhaiya, Just want to say that I recently starting following this course and man it is mind blowing! The quality is better then most of the paid course out there and you also teach extra stuff which others don't. The amount of work that you put into these videos is insane and enhances the overall experience of the course. Thank you for making this course free. I really appreciate the efforts you take to make sure we get the right information and your dedication to solve everyone's doubt. The handwritten notes as well as the notes on the website are very helpful and in detail. Once again thank you.

  • @ManishKushwaha36
    @ManishKushwaha36 11 หลายเดือนก่อน +6

    4:43 No we cannot give same ID to multiple elements.
    11:38 box-sizing se border, padding element, excluding margin, element sab ki height and width jo hai vo uss specified height and width ki ho jaye gi.
    15:03 Margin collapse: when Margin of 2 element overlap then only one margin will be apply which is largest of the two margins .

  • @rajwanivinit560
    @rajwanivinit560 10 หลายเดือนก่อน +4

    4:44 We cannot guve multiple id's to a element cuz id is different in itself and just great appreciation for applause for this course❤❤

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

    Thank you Harry bhaiya itna sahi border sizing concept ko explain karne ke liye.
    Basically agar humlog height ke baare me baat karege to toh sirf element ya content ka height hai wo. But box sizing me element , padding, border sabka add karke width or height banega

  • @SazzadurRahmanAyan
    @SazzadurRahmanAyan 11 หลายเดือนก่อน +9

    Regarding the qus 4:44 - No, we cannot use more than one ID on an HTML element. An ID is a unique identifier for an element, and each element can only have one unique identifier. Thank you so much Harry bhai. Lots of love from Bangladesh ❤

  • @techieworld7101
    @techieworld7101 11 หลายเดือนก่อน +5

    Omg again one more awesome video 😊

  • @SaurabhKumar-yx9iv
    @SaurabhKumar-yx9iv 4 หลายเดือนก่อน

    I am glad that i understood all the concepts you taught in this video..enjoying a lot in this course#sigma batch op

  • @codyandersan
    @codyandersan 11 หลายเดือนก่อน +7

    #doubt
    1> What if we don't want margin collapse and the elements have full margin between them?
    2> Is there a thing as padding collapse too?

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

      Then you should have to add the exact margin which you want ,
      Or if you want that on any one side just use the tags "margin left" etc as harry sir described about ..

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

    12:21 box sizing border = padding + element border 👍

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

    Harry Bhi I Understand Your Affort in Making This Sigma Corse .
    Salute to your Characteristic.

  • @Prathamesh_Zende_
    @Prathamesh_Zende_ 11 หลายเดือนก่อน +5

    I'm currently in class 12th(PCB) and will watch this course again after boards. Quality Content ⚡

  • @shreyashkotwal08
    @shreyashkotwal08 11 หลายเดือนก่อน +9

    Day-#18 completed kon kon mere sath last Tak judega😊

  • @Origin-Insight
    @Origin-Insight 5 หลายเดือนก่อน +7

    Sir jameen hai hi nhi ...mai kya kru😂😂

  • @TraptiGupta-s2s
    @TraptiGupta-s2s 7 หลายเดือนก่อน

    bhaiya aap sabse acha padhate ho saach me ... ye concept hamesha meri friends ko pareshan krta hai lekin aapne itne ache se padhaya ki maaza hi aa gaya ekdum ...or iss playlist ko jaruur share krugi apne friends ko 👍👍

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

    harry bhai really that the outro beats are next level, just feel like goosebumps.

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

    east are west herry vai is always best.
    apke bina itna acche se course free me kar nahi pate 😄😄😄
    thanku bhaiya

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

    Really got an ultra pro level understanding on CSS Box model
    Tooo much helpful video
    Answers to questions:
    1.)No, we cannot give multiple ID's to any element, Id is something which is unique of 💖an element like our aadhar card number and two element can't have same id.
    2.)By
    height:200px;
    box-sizing :border box;
    It means that now the total height (content height +2(padding height) +2(border)) =200px
    and shows that content height

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

    totally addicted to the last BGM

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

    thanks for giving so much effort to teach the concept of box-sizzing: border-box; I totally understood it :) you are the best

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

    No one teaches better than Sir Harry thankyou so much sir for this course

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

    Your teaching is to much cool Harry bhai❤
    Id is unique of all elements and person like Aadhar card
    And class like a school class

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

    #SigmaBatchOp
    box sizing border box ---bb(abbreviation)
    jo h vo content ki height ko change kr deta h
    bb jab nahi lagya tha tab content height=200px thi
    aur for elemnt height=content height+ padding ke sath hoti h
    aur jab bb laga dete h tab
    element height = height type in code
    content height kam ho jati h

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

    Margin Collapse ka Concept Mst Smjhaya

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

    height:200px;
    box-sizing:border-box; means that 200px of height includes (upper border+lower border+upper&lower padding+content size).

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

    thank you thank you thank you for this wonderful course harry bhai

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

    As a web developer I see his lectures are amazing but you have to make sure that practice is the key to success. The one who's practicing can get the benefit of this series otherwise no ways to success.

  • @una-j1s
    @una-j1s หลายเดือนก่อน

    box-sizing property to border-box it means the borders and paddings are now included in the total width and total height of the element.
    box sizing border box changes the height defination
    padding+border=height

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

    On the point series , teaching whats imp .

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

    "upar dekho Upar " was great harry bhai

  • @amandeep_25
    @amandeep_25 11 วันที่ผ่านมา

    Sigma Batch Op
    love from Punjab
    endd karati harry pajii

  • @Hey.Rachit
    @Hey.Rachit 4 หลายเดือนก่อน +1

    DAY 18 COMPLETED 🏁
    #SigmaBatchOP🔥
    HARRY BHAIYA OP 👥

  • @RAHUL-ot6qv
    @RAHUL-ot6qv 2 หลายเดือนก่อน

    box sizing and border box lagane se jo height ya width hoti hai wo content, padding and border ko include karke hoti hai, or na lagane se jo hieght ya width hoti hai wo sirf element ki hoti hai.

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

    Tutorial 18 done☑
    Kisi bhi element ko ek se ziada id nhi deskta
    Box sizing property ka matlab hai padding + border + content. without box sizing borderbox property sirf content ko hee height milegi

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

    Margin collapse concept cleared successfully 15:08 🎉

  • @UditNarayanGiri-xs3yj
    @UditNarayanGiri-xs3yj 29 วันที่ผ่านมา +1

    Happy Teachers Day Sir🥰🤩❤

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

    Hlo
    Harry Bhai ❤❤Thanks For this Awesome Course.
    We can't use more than one id in any element.
    If we use box-sizing:border-box; it means height or width which we given includes padding and border of element with given height or width for ex if we give height:200px; it means it shows us 200px height with including padding and border of element.

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

    ##### Harry bhai #####
    your funny words and expretion are really atractive.🤗

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

    Box sizing: border box; isforheight which includes padding+ border by

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

    box-sizing: border-box means the height which we have assigned like 200 px then that will be of (content+padding+border) excluding margin. If it is not applied then actual content height will be what we have assigned 200px . So box-sizing: border-box changes the definiton of height

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

    #SigmaBatchOp
    shyd se ek element ko ek se jyada id de sakte h .....lekin dena nahi chahiye uske liye classes ka use karna chahiye
    aur id doo element ko same nhi de sakte uske liye classes ka use karna chahiye
    id ka use kisi element ko particular target karne ke liye use karte h .....................jaisa hamre kuch school ke teachers karte h unn bacho ko target jo unki tution nhi jaate 😂😂😂😂😂😂😂😂😂😂😂😂
    thank u so much harry bhaiye for this course❤❤❤❤❤❤❤❤❤❤❤❤💗💗💗💗💗💗💗💗💯💯💯💯

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

    after completing CSS, doing revisions now
    box-sizing: border-box; /* it includes padding and border and makes the total height 200px
    means content + padding + margin = 200px*/

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

    ih we give box-sizing:border-box , it means total height or width will include padding and border size

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

    box sizing: border box; is for height which includes content+ padding + border

  • @movehard1851
    @movehard1851 27 วันที่ผ่านมา +1

    ❤️🙏
    Sigma Batch OP.
    ❤️🙏

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

    box sizing: border box; changes the height and width of the property to adjust with the total height and width meaning margin padding and property dimension will be equal to the dimension value provided also it excludes the border of the total height or width while adjusting the size of the dimension

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

    12:13 When box sizing = border-box, it means that height would equal to --> content height + top padding + bottom padding + top border + bottom border = 200px

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

    Very Good and In Depth

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

    box-sizing: border-box, means the height that we will give for the element is inclusive of the padding and border

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

    Ham jab bhi kisi content ko height ya width dete hai aur uske sath margin ya padding dete hai to hamare content ka height and width margin and padding dono ko add krke final hota hai lekin agar ham box-sizing:border-box property lagayi to jitna hamne height and width diya hai utne me hi vo pure content ko adjust krega ❤🎉
    THANK YOU❤

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

    very nice tutorial sir

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

    4:45 No Harry bhai we cannot give a element different id's, it can just have one id but a single element can have different classes. Thank you bhai for this beautiful course😊

  • @vijayverma7300
    @vijayverma7300 4 วันที่ผ่านมา

    intro was very good...😁😃😃

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

    box-sizing : border box means we include height or width of content,padding,border

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

    tutorial-18: done
    Sigma Batch op

  • @ritikprasad7198
    @ritikprasad7198 29 วันที่ผ่านมา

    Harry sir , happy teachers day 🥳😀🥳😀
    Thank you sir alot

  • @rachit.6110
    @rachit.6110 5 หลายเดือนก่อน

    We use box sizing border box to ensure that our element gets the desired height or width we have set not more than that which include padding & border.

  • @SenKhan-ys3zh
    @SenKhan-ys3zh หลายเดือนก่อน

    Harry bhai, Gazab 🔥🔥🔥🔥

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

    Let's GO.
    Sigma batch OP.

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

    Box sizing border box means content+padding+border

  • @cheryrj8305
    @cheryrj8305 24 วันที่ผ่านมา

    12:20 border-box : border-box; means that it include padding and boder both in height n width

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

    box-sizing: border-box; means that the total height is equal to the top bottom padding, border and content height whereas total width is equal to the left right padding, border and content width

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

    Yes harry bhai rukna nahiiii

  • @jerryczar3553
    @jerryczar3553 4 วันที่ผ่านมา

    Mera thobda bapas ayte huye got me laghing for minutes. Nicely done

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

    Harry Bhai ap hamara pehla lub hain

  • @happyguptagupta8386
    @happyguptagupta8386 4 หลายเดือนก่อน +2

    Hello bhaiya please make separate video on margin and padding 🙏🙏

  • @wahabshahbaz-gk6tq
    @wahabshahbaz-gk6tq 4 หลายเดือนก่อน

    amazing course keep it going

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

    In CSS, you can apply multiple classes to an element by separating the class names with spaces within the class attribute. For example:
    Each class can then be styled independently in your CSS file.
    However, for IDs, you can only assign one ID to an element, and it must be unique within the HTML document. IDs are not separated by spaces, and you should only have one ID per element. For example:
    Using the same ID for multiple elements is invalid HTML and can lead to unexpected behavior.

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

    nahi daal sakte ! just like aadhar card id or email id ! Harry bhai OP