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
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 ❤❤
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 ❤❤
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
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!
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 ! 🤗
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
• 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. 😁😁
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
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.
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.
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 😊🥳
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🔥
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
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
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 ✅
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 ☺😊
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.
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
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 ❤
• 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. ❤
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
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.
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 .
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
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 ❤
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 ..
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 👍👍
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
#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
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.
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
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.
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
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.
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
#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❤❤❤❤❤❤❤❤❤❤❤❤💗💗💗💗💗💗💗💗💯💯💯💯
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*/
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
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
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❤
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😊
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.
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
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.
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
#Sigmabatchop
#SigmaBatchOp
#SigmaBatchOp
#SigmaBatchOp #HarryBhaiThanks
#SigmaBatchOp
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 ❤❤
We will support him till the last ❤❤
Yes I will support till the last❤❤
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 ❤❤
@@computerscout331 Absolutely that's what we want
Yes we will support till end
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
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!
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 ! 🤗
Same 😂
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
• 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. 😁😁
thanks i didnt know
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
Don't stop making such amazing tutorials. These are really helpful. Thank you Harry bhai
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.
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.
KYA YAAR #harry bhai..maza aagaya ye wala lecture lekr..soo deep and clear
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 😊🥳
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🔥
Right
Wow. What a series. Kudos to you Harry for keeping this absolutely free. ✌
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
abhi konse video pe pohche ?
Abhi konse video pe pohche?@@relaxgaming6393
@@relaxgaming6393 150
Sigma web course op ❤❤🎉🎉
harry bhaiiii , box-sizng aur margin collapse concept clearly understood ✅✅✅, You are G.O.A.T 💯💯
Please don't stop Harry sir. Please explain every concept with funny and simple example. (Mai to ab sat chorne bala nehi hu
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
this journey of this course for web dev course is very good
No one can replace my coding teacher Harry bhai . We all are with you ❤
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 ✅
can you teach me do you put youtube logo in your comment
leikin jab border box dete hain to woh height ko content, padding aur border pe kis ratio pe divide karta hai
How you lut this logo in comment
@@shaikhnuma9101 use websites on pc there you will see emogi icon.
@@cookingstreet9362 aise put kiya
Thank you so much Harry Bhaiya......❤❤❤
I just never enjoyed any course that much like hell.....!!!!! ✨✨✨
⭐⭐⭐⭐⭐
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 ☺😊
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.
The border-box and margin collapse was for me ❤❤
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
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 ❤
• 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. ❤
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
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.
can any body pls tell me the reason also pls
@@TheRahulChacha because this like the unique key of that element so every element can have only one key
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.
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 .
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❤❤
ya
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
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 ❤
Ry8 👍 🥰
Omg again one more awesome video 😊
I am glad that i understood all the concepts you taught in this video..enjoying a lot in this course#sigma batch op
#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?
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 ..
12:21 box sizing border = padding + element border 👍
Harry Bhi I Understand Your Affort in Making This Sigma Corse .
Salute to your Characteristic.
I'm currently in class 12th(PCB) and will watch this course again after boards. Quality Content ⚡
Day-#18 completed kon kon mere sath last Tak judega😊
Sir jameen hai hi nhi ...mai kya kru😂😂
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 👍👍
harry bhai really that the outro beats are next level, just feel like goosebumps.
east are west herry vai is always best.
apke bina itna acche se course free me kar nahi pate 😄😄😄
thanku bhaiya
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
totally addicted to the last BGM
thanks for giving so much effort to teach the concept of box-sizzing: border-box; I totally understood it :) you are the best
No one teaches better than Sir Harry thankyou so much sir for this course
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
#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
Margin Collapse ka Concept Mst Smjhaya
height:200px;
box-sizing:border-box; means that 200px of height includes (upper border+lower border+upper&lower padding+content size).
thank you thank you thank you for this wonderful course harry bhai
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.
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
On the point series , teaching whats imp .
"upar dekho Upar " was great harry bhai
Sigma Batch Op
love from Punjab
endd karati harry pajii
DAY 18 COMPLETED 🏁
#SigmaBatchOP🔥
HARRY BHAIYA OP 👥
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.
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
Margin collapse concept cleared successfully 15:08 🎉
Happy Teachers Day Sir🥰🤩❤
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.
##### Harry bhai #####
your funny words and expretion are really atractive.🤗
Box sizing: border box; isforheight which includes padding+ border by
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
#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❤❤❤❤❤❤❤❤❤❤❤❤💗💗💗💗💗💗💗💗💯💯💯💯
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*/
ih we give box-sizing:border-box , it means total height or width will include padding and border size
box sizing: border box; is for height which includes content+ padding + border
❤️🙏
Sigma Batch OP.
❤️🙏
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
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
Very Good and In Depth
box-sizing: border-box, means the height that we will give for the element is inclusive of the padding and border
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❤
very nice tutorial sir
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😊
intro was very good...😁😃😃
box-sizing : border box means we include height or width of content,padding,border
tutorial-18: done
Sigma Batch op
Harry sir , happy teachers day 🥳😀🥳😀
Thank you sir alot
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.
Harry bhai, Gazab 🔥🔥🔥🔥
Let's GO.
Sigma batch OP.
Box sizing border box means content+padding+border
12:20 border-box : border-box; means that it include padding and boder both in height n width
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
Yes harry bhai rukna nahiiii
Mera thobda bapas ayte huye got me laghing for minutes. Nicely done
Harry Bhai ap hamara pehla lub hain
Hello bhaiya please make separate video on margin and padding 🙏🙏
amazing course keep it going
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.
nahi daal sakte ! just like aadhar card id or email id ! Harry bhai OP