CSS Tutorial in Hindi [Part 34] - CSS Display Property

  Рет қаралды 42,950

Tech Gun

Tech Gun

Күн бұрын

In this video i will talk about Display Property in CSS
The display property specifies the display behavior (the type of rendering box) of an element.
In HTML, the default display property value is taken from the HTML specifications or from the browser/user default style sheet. The default value in XML is inline, including SVG elements.
1. inline: Displays an element as an inline element (like span). Any height and width properties will have no effect
2. block: Displays an element as a block element (like p). It starts on a new line, and takes up the whole width
3.contents: Makes the container disappear, making the child elements children of the element the next level up in the DOM
4.flex: Displays an element as a block-level flex container
5.grid: Displays an element as a block-level grid container
6.inline-block: Displays an element as an inline-level block container. The element itself is formatted as an inline element, but you can apply height and width values
7.inline-flex: Displays an element as an inline-level flex container
8.inline-grid: Displays an element as an inline-level grid container
9.inline-table: The element is displayed as an inline-level table
10.list-item: Let the element behave like a li element
11.run-in: Displays an element as either block or inline, depending on context
12.table: Let the element behave like a table element
13.table-caption: Let the element behave like a caption element
14.table-column-group: Let the element behave like a colgroup element
15.table-header-group: Let the element behave like a thead element
16.table-footer-group: Let the element behave like a tfoot element
17.table-row-group: Let the element behave like a tbody element
18.table-cell: Let the element behave like a td element
19.table-column: Let the element behave like a col element
20.table-row: Let the element behave like a tr element
21.none: The element is completely removed
22.initial: Sets this property to its default value. Read about initial
23.inherit: Inherits this property from its parent element. Read about inherit

Пікірлер: 65
@GirishG
@GirishG 2 жыл бұрын
This is it! This is something everyone who's learning CSS needs to see. Best explanation. Thanks TechGun!
@TechGun
@TechGun 2 жыл бұрын
Glad it was helpful!
@ipshitatripathy120
@ipshitatripathy120 Жыл бұрын
I really appreciate you@@TechGun . Is there a way I could reach out to you? I live in the US and need some development support.
@teethidhar1163
@teethidhar1163 4 жыл бұрын
Hi,, This is Teethi. I really appreciate your work. I am learning CSS through online. I dont have time to go out and take classes for it. Honestly you are the best guider for it. Thank you.
@TechGun
@TechGun 4 жыл бұрын
Glad it was helpful
@abhaykumarpandey2906
@abhaykumarpandey2906 4 жыл бұрын
Very Nice explanation. Thanks for that. I always get confuse in CSS. Although I am backend developer but while seeing your video that is very self descriptive I got confidence to get do my css work by myself.
@SunilSharma-ib6wd
@SunilSharma-ib6wd 3 жыл бұрын
Nobody gives you deep & Useful knowledge like this channel
@VishalSharma-mw4rs
@VishalSharma-mw4rs 2 жыл бұрын
Sir you are litterly great...... No comparison.... U r modi jii of teaching
@vipinsharma-zx9cb
@vipinsharma-zx9cb 4 жыл бұрын
One of the best tutorials on css
@tanveerahmed7783
@tanveerahmed7783 2 жыл бұрын
Sir your way of teaching is superb. Thank you ...............
@gauravmishra5523
@gauravmishra5523 2 жыл бұрын
Amazing explanation and nothing is going bouncer and appreciate your hardwork to explain CSS in a very easy way,so that one can understand it in a easy way, thanks a lot sir.
@Nikhilllll156
@Nikhilllll156 3 жыл бұрын
Excellently explained 🔥🔥🔥🔥... This video should reach million views
@ROCKY_1507
@ROCKY_1507 2 жыл бұрын
its interesting and well explained..thanks man..your new subscriber !!
@ashishsharma3116
@ashishsharma3116 2 жыл бұрын
You are absolutely great. You explain all the concepts with their worst case scenario.
@TECHWITHKAMALRAJ
@TECHWITHKAMALRAJ Жыл бұрын
Wow Amazing Explaination, My doubt is 💯 clear regarding display properly Thankyou Sir..
@jmufaddal4105
@jmufaddal4105 3 жыл бұрын
Bhai, your explanation was fantastic. You actually cleared he concepts You are amazing in explaining Thank You God Bless!!!
@abdullahzeb2887
@abdullahzeb2887 3 жыл бұрын
Thank You Sir, no body gives that much deep knowledge and clear explanation about this confusing topic
@anjaliattal2666
@anjaliattal2666 2 жыл бұрын
Sir,thank you so much for giving your valuable time for us.your teaching way too good,simple.you are really doing great work .i already completed html in your tutorial.thanks a lot🙏🏻
@kumarmantosh7262.official
@kumarmantosh7262.official 2 жыл бұрын
sir root ka ka ek indeatils example chahiye sir ...apke padhane ke tarika se mai bhaut khush hun
@mamaigraphics1181
@mamaigraphics1181 2 жыл бұрын
Awesome ......... Sir, you are best. Thank you so much Sir !
@imranshaikh115
@imranshaikh115 3 жыл бұрын
just i will say you are awesome :) keep up the good work Thanks a lot
@baghiedits
@baghiedits 2 жыл бұрын
Wow Very Nice Explain with Example Thanks Sir
@abdulkhaliqbehlim5964
@abdulkhaliqbehlim5964 3 жыл бұрын
This is very important while designing navigation banner
@marrisaikrishna416
@marrisaikrishna416 4 жыл бұрын
Thank you so much sir.. Best video ever.. And excellent explanation sir
@Faizan_Iqbal07
@Faizan_Iqbal07 2 жыл бұрын
Best teacher 🤩🖤
@pritamkaibartya23
@pritamkaibartya23 3 жыл бұрын
One of the best video ever . Thank you so much. I want to know about css display more property.plese.
@suvodeepnayek5509
@suvodeepnayek5509 2 жыл бұрын
You are best sir❤️
@marrisaikrishna416
@marrisaikrishna416 4 жыл бұрын
Best teacher.🙏🙏
@ultimategamer5781
@ultimategamer5781 3 жыл бұрын
Very nice explanation 🙏🏻
@wasiquekhan4513
@wasiquekhan4513 3 жыл бұрын
great sir aap ne css ko paani me ghol ke pila diya
@prateeksarangi9187
@prateeksarangi9187 3 жыл бұрын
Wow !!Good explanation
@manishkumar-vy3os
@manishkumar-vy3os 2 жыл бұрын
Great video
@UAtul
@UAtul 3 жыл бұрын
Super up nice explanation
@mohammadrifakat7
@mohammadrifakat7 2 жыл бұрын
good one
@ভোমরা
@ভোমরা Жыл бұрын
wow
@bharatkoshti8055
@bharatkoshti8055 2 жыл бұрын
Waa sir like this
@sharif7351
@sharif7351 3 жыл бұрын
Excellent
@16_abhikdas52
@16_abhikdas52 4 жыл бұрын
Thank you, sir
@KirtanPatel552
@KirtanPatel552 2 жыл бұрын
I have a doubt is when we take display as a inline-block so according to inline-block property box will come beside to box1, but why second box still at new line...
@learnerboy-kc9fd
@learnerboy-kc9fd 2 жыл бұрын
if we can change width and height of element then why we use width and height attribute in ?
@anshulpant9270
@anshulpant9270 2 жыл бұрын
Sir ye in-line block m ek he line main height or width kyu nahi le raha ye next line main pahunch raha hai ? Explain that please
@ashok-yadav-
@ashok-yadav- 3 жыл бұрын
Thank you sir
@varshakotwal3407
@varshakotwal3407 Жыл бұрын
🤩🤩🤩🤩🤩
@saurabhsahu9348
@saurabhsahu9348 2 жыл бұрын
The content that we display: none; Have disappeared by applying property, how to show the same content in mobile view? Sir please help me🙏
@adultstatus1821
@adultstatus1821 3 жыл бұрын
Nice
@ankitsinha007
@ankitsinha007 2 жыл бұрын
why it started with new line in inline-block not clear explanation
@allanimeworld2898
@allanimeworld2898 3 жыл бұрын
Sir please tell me that image tag is inline But we can set width and height How???
@bbkivinesbigfan3472
@bbkivinesbigfan3472 3 жыл бұрын
who said this.... image behave as inline-block .
@allanimeworld2898
@allanimeworld2898 3 жыл бұрын
@@bbkivinesbigfan3472 see we can define width and height from css
@arunsaklani9890
@arunsaklani9890 3 жыл бұрын
Sir plz can u tell me where I can get and practise html and CSS project ?
@programmer_chetan2231
@programmer_chetan2231 3 жыл бұрын
But sir img tag to inline hai par ham usme height and width Dr sakte hai
@hiralalbudhathoki8303
@hiralalbudhathoki8303 3 жыл бұрын
Big fan andu Pandu😱😱
@rubyxkumari
@rubyxkumari 3 жыл бұрын
Sahi bola bro
@ravibhojani5286
@ravibhojani5286 3 жыл бұрын
Inline block me example me new line se kyu start huva?
@banadipmudi3186
@banadipmudi3186 2 жыл бұрын
Bcz agar same line me hota to fir un dono ka width+extra border malakar 100% se zyada ho jata aur main window space utna nhi hai. Isliye next line. Agar width 46 ya 47% hota to fir margin+total width mila kar 100% hota aur wo same line me ho jata
@puneetshakya3001
@puneetshakya3001 2 жыл бұрын
Sir inline-block mein to to fir same line pe hona chaiye tha show pr div 2 to next line mein chla gya esa q ?
@banadipmudi3186
@banadipmudi3186 2 жыл бұрын
Bcz agar same line me hota to fir un dono ka width+extra border malakar 100% se zyada ho jata aur main window space utna nhi hai. Isliye next line. Agar width 46 ya 47% hota to fir margin+total width mila kar 100% hota aur wo same line me ho jata
@ghanshyamsaini3826
@ghanshyamsaini3826 Жыл бұрын
please provide course on php...
@learnwithfahad5473
@learnwithfahad5473 2 жыл бұрын
sir but jab ap ny inline - block kia to wo new line mai ku chali gai div? jab k inline mai new line se wo start nai hoti?
@poojagarg5424
@poojagarg5424 2 жыл бұрын
If u got answer..please tell me also
@tushar090
@tushar090 6 ай бұрын
Kyuki doo inline-block element m thoda sa gap bydefault hota h jo ki bhot km hota approximate 1px or less aur is case me dono element Ki width 50% thi Jo Ki total 100%width ho gyi aur by default gap bhi hota h doo inline-block element m to isliye Dusra element niche aa gya. agar Kisi ak element ki width 50% sa km hoti to dono element AK line m aata.
@rubyxkumari
@rubyxkumari 3 жыл бұрын
Advance Css starts ....
@curiousindian8053
@curiousindian8053 3 жыл бұрын
Bhai kahna kya chahte ho
@aneeksarker687
@aneeksarker687 3 жыл бұрын
Its Not For You.... Tumhara Palle Main Nehi Padega💙
@Unknown-Stranger
@Unknown-Stranger 2 жыл бұрын
ullu itna easy smjhaye isne...fir bhi tere smjh nhi aaya to tere bas ki nhi h coding
CSS Tutorial in Hindi [Part 35] - CSS Position Property
19:24
CSS Tutorial in Hindi [Part 49] - Flexbox in CSS
29:55
Tech Gun
Рет қаралды 64 М.
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 42 МЛН
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН
人是不能做到吗?#火影忍者 #家人  #佐助
00:20
火影忍者一家
Рет қаралды 20 МЛН
CSS Tutorial in Hindi [Part 41] - CSS Animations
18:35
Tech Gun
Рет қаралды 33 М.
Learn CSS BOX MODEL - With Real World Examples
17:45
Slaying The Dragon
Рет қаралды 164 М.
Position Property in CSS | Web Development Tutorial in Hindi #2024
15:54
CSS Tutorial in Hindi [Part 50] - CSS Grid
35:17
Tech Gun
Рет қаралды 50 М.
Learn Flexbox CSS in 8 minutes
8:16
Slaying The Dragon
Рет қаралды 1,8 МЛН
CSS Flexbox Tutorial For Beginners in Hindi 🔥🔥
27:40
CodeWithHarry
Рет қаралды 545 М.