CSS Display Property Tutorial for Beginners | Block, Inline, & Inline-Block Types

  Рет қаралды 26,604

Dave Gray

Dave Gray

Күн бұрын

Пікірлер: 73
@DaveGrayTeachesCode
@DaveGrayTeachesCode 2 жыл бұрын
Display is a powerful property in CSS. It can impact your page in many ways. In this tutorial, we'll not only review block and inline display values which we learned from beginning HTML, but we will also learn about the hybrid-value inline-block. We will use the display: inline-block value as we build an example navbar. If you are just getting started with CSS, I recommend going to the start of this CSS for Beginners playlist: kzbin.info/aero/PL0Zuz27SZ-6Mx9fd9elt80G1bPcySmWit
@Knards
@Knards 2 жыл бұрын
Dave, am very happy to see how your channel has grown. Your teaching delivery and content is worth the growth
@DaveGrayTeachesCode
@DaveGrayTeachesCode 2 жыл бұрын
Thank you! 💯🙏
@elvispontes4165
@elvispontes4165 Жыл бұрын
I am just a beginer when it comes to frot end. I am always coming back to your videos when I have some doubt or forget something, and never get disappointed. Thanks a lot for sharing great content.
@DaveGrayTeachesCode
@DaveGrayTeachesCode Жыл бұрын
You're welcome!
@NamNguyen-oz8uj
@NamNguyen-oz8uj 2 жыл бұрын
Progress over perfection! Thank you for your advice Dave 🙏
@DaveGrayTeachesCode
@DaveGrayTeachesCode 2 жыл бұрын
That's right! It's always a reminder for myself, too. Keep up the good work and you're welcome! 🚀
@MichaelJosephGFX
@MichaelJosephGFX 2 жыл бұрын
Thanks, Dave! The box model & display types is by far the hardest part for myself and many others to comprehend, and you nailed it with this lesson. Subscribed. I'll be coming back to practice more and try to really get these ideas down. CSS can be difficult at first, but I can see this making sense eventually. Also, I really think The Odin Project would benefit from your work. Their curriculum is amazing, but honestly at times it is too difficult to understand anything. I feel if they shared your work it would help a ton. Cheers!
@DaveGrayTeachesCode
@DaveGrayTeachesCode 2 жыл бұрын
Thank you, and I'm glad I helped!
@Grihlo
@Grihlo 2 жыл бұрын
Thanks for another great lesson Dave!
@DaveGrayTeachesCode
@DaveGrayTeachesCode 2 жыл бұрын
Glad you liked it! 💯
@DenisGloba
@DenisGloba 2 жыл бұрын
Great Work dave gray Thanks
@DaveGrayTeachesCode
@DaveGrayTeachesCode 2 жыл бұрын
Very welcome!
@miftakhusysyiroth9301
@miftakhusysyiroth9301 2 жыл бұрын
you're so kind. I love you
@DaveGrayTeachesCode
@DaveGrayTeachesCode 2 жыл бұрын
🙏🙏
@NinaGk-y1e
@NinaGk-y1e 5 ай бұрын
Thank u so much. I have been watching all your videos and I'm improving so much. ❤❤
@OlubunmiAlade
@OlubunmiAlade 9 ай бұрын
I really love your teachings thank you very much
@TriLiCiT
@TriLiCiT 2 жыл бұрын
Hey Dave. Thanks for your videos and you got a new sub. I originally came across your channel upon dying research on how to set resets and overall widths heights because I've been battling my css and flex to make my sites responsive ect. I work graveyards so whilst at work I'll just listen to tutorials cause everyone has something different to say and thus far, you've been the best. This is after investment in Udemy, books, ect. I especially love that you cover topics others don't i. e. your video on seeting margin and padding reset in the * selector song with setting width height in body and html selectors to fix horizontal and vertical overflow
@DaveGrayTeachesCode
@DaveGrayTeachesCode 2 жыл бұрын
Thank you! Glad I could help! 💯
@fabrice9848
@fabrice9848 2 жыл бұрын
Thanks again for teaching us the basics.
@DaveGrayTeachesCode
@DaveGrayTeachesCode 2 жыл бұрын
You're welcome! 💯
@TravinskiyVladislav
@TravinskiyVladislav 2 жыл бұрын
Thank you, Dave
@noweare1
@noweare1 18 күн бұрын
Thank you for a very informative video.
@letuslearnmore
@letuslearnmore Жыл бұрын
Great teacher❤
@stanislavaksenov1700
@stanislavaksenov1700 2 жыл бұрын
I had a hard time understanding the term inline-block, but after your explanations it all became clear. Thank you very much for your videos!
@DaveGrayTeachesCode
@DaveGrayTeachesCode 2 жыл бұрын
You're very welcome!
@JigsawXop
@JigsawXop Жыл бұрын
Dave sir ur the best 💛....love form India
@DaveGrayTeachesCode
@DaveGrayTeachesCode Жыл бұрын
Thank you! And hello to India! 👋
@brijeshkumarchavda
@brijeshkumarchavda 2 жыл бұрын
Thank you! ♥
@DaveGrayTeachesCode
@DaveGrayTeachesCode 2 жыл бұрын
You're welcome!
@michaelanietiejackson5795
@michaelanietiejackson5795 2 жыл бұрын
You are my best tutor.
@DaveGrayTeachesCode
@DaveGrayTeachesCode 2 жыл бұрын
Thank you!
@CTILET
@CTILET 2 жыл бұрын
Thank you Dave!
@DaveGrayTeachesCode
@DaveGrayTeachesCode 2 жыл бұрын
You're welcome!
@ahmad-murery
@ahmad-murery 2 жыл бұрын
Hello Dave, it's very useful that you provided a practical example to using the display property, 12:30 according to MDN margin-inline will apply to the element's logical start/end, meaning that the start/end of an element may change depending on writing-mode, direction, and text-orientation properties, using both margin-inline-start/margin-inline-end removes all the hassles when building bidirectional websites (where we need to consider swapping left and right margins and paddings in RTL languages) I think MDN should add links to your videos Thanks
@DaveGrayTeachesCode
@DaveGrayTeachesCode 2 жыл бұрын
Great info, Ahmad! Yes, MDN is my favorite reference / docs site. I appreciate your recommendation and wow, that would be a BIG honor if it ever truly happened. 🚀
@ahmad-murery
@ahmad-murery 2 жыл бұрын
@@DaveGrayTeachesCode I found that the examples you provide focusing on one topic at a time without being crammed with unnecessary codes, so why not 😉.
@nishgro191
@nishgro191 2 жыл бұрын
Hello Dave!! Take love. You do awesome things with less code and more efficient way.
@DaveGrayTeachesCode
@DaveGrayTeachesCode 2 жыл бұрын
Thank you for the kind words!
@roydeloiza6663
@roydeloiza6663 2 жыл бұрын
One of the best.
@DaveGrayTeachesCode
@DaveGrayTeachesCode 2 жыл бұрын
Thank you!
@Pareshbpatel
@Pareshbpatel 2 жыл бұрын
CSS: Block, In-line and Inline-Block elements beautifully and clearly explained. Thanks, Dave {2022-04-5}
@DaveGrayTeachesCode
@DaveGrayTeachesCode 2 жыл бұрын
Thank you, Paresh! 🙏🙏
@ajaysan2765
@ajaysan2765 Жыл бұрын
Thank You
@DaveGrayTeachesCode
@DaveGrayTeachesCode Жыл бұрын
Welcome!
@uniquebanda69
@uniquebanda69 2 жыл бұрын
lots of love from India ❤️ please upload DAILY content✌️
@DaveGrayTeachesCode
@DaveGrayTeachesCode 2 жыл бұрын
Thank you 🙏
@imran_ashraf
@imran_ashraf 2 жыл бұрын
Hi Dave, Love the CSS videos! Can you please do a video on Flexbox and another on CSS Grid? Also can you please elaborate on when to use which ie Flexbox or CSS Grid? Thanks, Dave
@DaveGrayTeachesCode
@DaveGrayTeachesCode 2 жыл бұрын
Thank you! 🙏 I have both coming up very soon. You don't have to choose one or the other. You can use them together. No right or wrong answer there. Whichever you are most comfortable with and gets the job done.
@andromilk2634
@andromilk2634 6 ай бұрын
I suppose for the horizontal navbar you could also have used a "Inline" display as well because in your example, you are not using block level properties on the horizontal list items which would require a inline-block level.
@vitalijgrabovan2061
@vitalijgrabovan2061 2 жыл бұрын
Wow, yesterday I have finished watching 9th part and was sad because i thought that its the last one and today there is a 10th so I am happy again :D Thank you Dave !!!
@DaveGrayTeachesCode
@DaveGrayTeachesCode 2 жыл бұрын
Thank you! 🙏 There is still more to come. Usually one a week.
@synen
@synen 2 жыл бұрын
@@DaveGrayTeachesCode Fabulous series Dave!
@crust5532
@crust5532 2 жыл бұрын
Dave love your videos 😊❤️.Which theme you are using???
@DaveGrayTeachesCode
@DaveGrayTeachesCode 2 жыл бұрын
Thank you 🙏 GitHub theme 🚀
@ecomadvisor.
@ecomadvisor. 5 ай бұрын
15:38 confused 😕
@behroozyazdani6023
@behroozyazdani6023 2 жыл бұрын
Hi, thanks 👍👌, display is important property but many don't care about it.
@DaveGrayTeachesCode
@DaveGrayTeachesCode 2 жыл бұрын
You're welcome! 🙏 A CSS course is not complete without it 💯
@vishwamperiasamysubramania131
@vishwamperiasamysubramania131 2 жыл бұрын
Hi, Please could you make a video on box-shadows and text-shadows.
@DaveGrayTeachesCode
@DaveGrayTeachesCode 2 жыл бұрын
Thank you for the request! 💯🙏
@trynottolaugh5645
@trynottolaugh5645 2 жыл бұрын
Can you please do a video on Responsive web design?
@DaveGrayTeachesCode
@DaveGrayTeachesCode 2 жыл бұрын
Please continue in this CSS series and you will find my tutorial on responsive web design.
@trynottolaugh5645
@trynottolaugh5645 2 жыл бұрын
@@DaveGrayTeachesCode okay Thanks 😊
@synen
@synen 2 жыл бұрын
Dave, do you have UDEMY courses ? Thank you.
@DaveGrayTeachesCode
@DaveGrayTeachesCode 2 жыл бұрын
I do not. I am looking forward to releasing a premium course, but I may not use the Udemy platform.
@synen
@synen 2 жыл бұрын
@@DaveGrayTeachesCode Understood, looking forward to it, best wishes.
@mithunshaw4269
@mithunshaw4269 2 жыл бұрын
Hi Dave.. Thanks for the video.. I have completed all 10 CSS video.. Are you going upload more videos on CSS that you have mentioned on video #10 that you cover display visibility in future.. Can we also get project on this just for practice?
@DaveGrayTeachesCode
@DaveGrayTeachesCode 2 жыл бұрын
Yes, this series is currently underway with more videos to come. 🚀
@mithunshaw4269
@mithunshaw4269 2 жыл бұрын
@@DaveGrayTeachesCode okay thanks Dave ... One more question I am planning for react js after HTML CSS and JavaScript, can I opt for react js after them? Please suggest.. React js and react native both are same right? If i follow your react js code for windows i will definitely be able to code them for Android and iOS as part of react native? Your suggestions will highly be appreciated!
@DaveGrayTeachesCode
@DaveGrayTeachesCode 2 жыл бұрын
@@mithunshaw4269 HTML, CSS, and JS is a good path to start. React and React Native are similar, but they are not the same. React Native is for mobile apps.
@mithunshaw4269
@mithunshaw4269 2 жыл бұрын
@@DaveGrayTeachesCode thankyou so much Dave.. sorry for taking your valuable time by asking so much things. One more lasst question is then that means I need to do two separate course right one for react js and another for react native?
@Habib80
@Habib80 2 жыл бұрын
🔥🔥🔥
@gtlnook8223
@gtlnook8223 Жыл бұрын
black hat SEO can hide mambo jambo keyword
CSS Floats and Clears Tutorial for Beginners
13:08
Dave Gray
Рет қаралды 25 М.
Learn CSS Displays in 12 Minutes | Grid, Flexbox, Inline Block, Block
12:15
🎈🎈🎈😲 #tiktok #shorts
0:28
Byungari 병아리언니
Рет қаралды 4,5 МЛН
Top 10 CSS One Liners That Will Blow Your Mind
13:34
developedbyed
Рет қаралды 990 М.
CSS Display Property | Sigma Web Development Course - Tutorial #23
12:08
The problems with viewport units
13:23
Kevin Powell
Рет қаралды 370 М.
Learn CSS Display Property In 4 Minutes
4:15
Web Dev Simplified
Рет қаралды 313 М.
Using CSS custom properties like this is a waste
16:12
Kevin Powell
Рет қаралды 186 М.
Learn CSS Flexbox in 20 Minutes (Course)
20:37
Coding2GO
Рет қаралды 334 М.
CSS Grid Intro and Basic Layout Tutorial for Beginners
25:38
Dave Gray
Рет қаралды 34 М.
The CSS Display Property is Changing Forever
15:20
Web Dev Simplified
Рет қаралды 82 М.
Are You Making These CSS Height Mistakes?
8:54
Web Dev Simplified
Рет қаралды 140 М.
100 CSS Selectors Explained in 20 Minutes
20:58
Slaying The Dragon
Рет қаралды 8 М.
🎈🎈🎈😲 #tiktok #shorts
0:28
Byungari 병아리언니
Рет қаралды 4,5 МЛН