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
@Knards2 жыл бұрын
Dave, am very happy to see how your channel has grown. Your teaching delivery and content is worth the growth
@DaveGrayTeachesCode2 жыл бұрын
Thank you! 💯🙏
@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 Жыл бұрын
You're welcome!
@NamNguyen-oz8uj2 жыл бұрын
Progress over perfection! Thank you for your advice Dave 🙏
@DaveGrayTeachesCode2 жыл бұрын
That's right! It's always a reminder for myself, too. Keep up the good work and you're welcome! 🚀
@MichaelJosephGFX2 жыл бұрын
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!
@DaveGrayTeachesCode2 жыл бұрын
Thank you, and I'm glad I helped!
@Grihlo2 жыл бұрын
Thanks for another great lesson Dave!
@DaveGrayTeachesCode2 жыл бұрын
Glad you liked it! 💯
@DenisGloba2 жыл бұрын
Great Work dave gray Thanks
@DaveGrayTeachesCode2 жыл бұрын
Very welcome!
@miftakhusysyiroth93012 жыл бұрын
you're so kind. I love you
@DaveGrayTeachesCode2 жыл бұрын
🙏🙏
@NinaGk-y1e5 ай бұрын
Thank u so much. I have been watching all your videos and I'm improving so much. ❤❤
@OlubunmiAlade9 ай бұрын
I really love your teachings thank you very much
@TriLiCiT2 жыл бұрын
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
@DaveGrayTeachesCode2 жыл бұрын
Thank you! Glad I could help! 💯
@fabrice98482 жыл бұрын
Thanks again for teaching us the basics.
@DaveGrayTeachesCode2 жыл бұрын
You're welcome! 💯
@TravinskiyVladislav2 жыл бұрын
Thank you, Dave
@noweare118 күн бұрын
Thank you for a very informative video.
@letuslearnmore Жыл бұрын
Great teacher❤
@stanislavaksenov17002 жыл бұрын
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!
@DaveGrayTeachesCode2 жыл бұрын
You're very welcome!
@JigsawXop Жыл бұрын
Dave sir ur the best 💛....love form India
@DaveGrayTeachesCode Жыл бұрын
Thank you! And hello to India! 👋
@brijeshkumarchavda2 жыл бұрын
Thank you! ♥
@DaveGrayTeachesCode2 жыл бұрын
You're welcome!
@michaelanietiejackson57952 жыл бұрын
You are my best tutor.
@DaveGrayTeachesCode2 жыл бұрын
Thank you!
@CTILET2 жыл бұрын
Thank you Dave!
@DaveGrayTeachesCode2 жыл бұрын
You're welcome!
@ahmad-murery2 жыл бұрын
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
@DaveGrayTeachesCode2 жыл бұрын
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-murery2 жыл бұрын
@@DaveGrayTeachesCode I found that the examples you provide focusing on one topic at a time without being crammed with unnecessary codes, so why not 😉.
@nishgro1912 жыл бұрын
Hello Dave!! Take love. You do awesome things with less code and more efficient way.
@DaveGrayTeachesCode2 жыл бұрын
Thank you for the kind words!
@roydeloiza66632 жыл бұрын
One of the best.
@DaveGrayTeachesCode2 жыл бұрын
Thank you!
@Pareshbpatel2 жыл бұрын
CSS: Block, In-line and Inline-Block elements beautifully and clearly explained. Thanks, Dave {2022-04-5}
@DaveGrayTeachesCode2 жыл бұрын
Thank you, Paresh! 🙏🙏
@ajaysan2765 Жыл бұрын
Thank You
@DaveGrayTeachesCode Жыл бұрын
Welcome!
@uniquebanda692 жыл бұрын
lots of love from India ❤️ please upload DAILY content✌️
@DaveGrayTeachesCode2 жыл бұрын
Thank you 🙏
@imran_ashraf2 жыл бұрын
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
@DaveGrayTeachesCode2 жыл бұрын
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.
@andromilk26346 ай бұрын
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.
@vitalijgrabovan20612 жыл бұрын
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 !!!
@DaveGrayTeachesCode2 жыл бұрын
Thank you! 🙏 There is still more to come. Usually one a week.
@synen2 жыл бұрын
@@DaveGrayTeachesCode Fabulous series Dave!
@crust55322 жыл бұрын
Dave love your videos 😊❤️.Which theme you are using???
@DaveGrayTeachesCode2 жыл бұрын
Thank you 🙏 GitHub theme 🚀
@ecomadvisor.5 ай бұрын
15:38 confused 😕
@behroozyazdani60232 жыл бұрын
Hi, thanks 👍👌, display is important property but many don't care about it.
@DaveGrayTeachesCode2 жыл бұрын
You're welcome! 🙏 A CSS course is not complete without it 💯
@vishwamperiasamysubramania1312 жыл бұрын
Hi, Please could you make a video on box-shadows and text-shadows.
@DaveGrayTeachesCode2 жыл бұрын
Thank you for the request! 💯🙏
@trynottolaugh56452 жыл бұрын
Can you please do a video on Responsive web design?
@DaveGrayTeachesCode2 жыл бұрын
Please continue in this CSS series and you will find my tutorial on responsive web design.
@trynottolaugh56452 жыл бұрын
@@DaveGrayTeachesCode okay Thanks 😊
@synen2 жыл бұрын
Dave, do you have UDEMY courses ? Thank you.
@DaveGrayTeachesCode2 жыл бұрын
I do not. I am looking forward to releasing a premium course, but I may not use the Udemy platform.
@synen2 жыл бұрын
@@DaveGrayTeachesCode Understood, looking forward to it, best wishes.
@mithunshaw42692 жыл бұрын
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?
@DaveGrayTeachesCode2 жыл бұрын
Yes, this series is currently underway with more videos to come. 🚀
@mithunshaw42692 жыл бұрын
@@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!
@DaveGrayTeachesCode2 жыл бұрын
@@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.
@mithunshaw42692 жыл бұрын
@@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?