Master The All Important CSS Box Model - Colt's Code Camp

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

Colt Steele

Colt Steele

Күн бұрын

This video covers some of the MOST IMPORTANT CSS properties including margin, padding, border, display, box-sizing, width, height, and background-clip. Find the code and homework assignment here: codepen.io/collection/nrYZYe

Пікірлер: 96
@electrichimp
@electrichimp 4 жыл бұрын
Thank you Colt. I can't stop saying it: the quality of your content is beyond amazing, just GOLD.
@sisalpoudel4041
@sisalpoudel4041 4 жыл бұрын
Hey Colt you made me believe that I can write code. Took almost all your courses in udemy
@fufiafro
@fufiafro 4 жыл бұрын
Hi Colt! It has only been few months since I started learning how to code after watching your Udemy classes. Now I am teaching my 12 year old niece how to code. Thank you for making us believe that we can do it!!!
@srikanth6006
@srikanth6006 4 жыл бұрын
You're a natural teacher colt. you are helping many people like me to write clean and efficient code. More power and love to you 🤗❤️.
@droidarcade405
@droidarcade405 3 жыл бұрын
You have an amazing flow while teaching that connects all the dots .....incredible !
@elow8106
@elow8106 4 жыл бұрын
I always thought it was too late for me to learn the technical systems until I came across your Udemy courses. Seriously learning from scratch and now I have a good (micro and macro) understanding of how HTML, CSS, mySQL (and upcoming JS) works! Thank you for piecing them up so nicely and for being part of my career development! Da best, Colt!
@krissykins2010
@krissykins2010 4 жыл бұрын
I feel like I have so many lightbulb moments while watching your videos. Thank you for helping me finally make sense of the CSS box model.
@qadirgreg
@qadirgreg 4 жыл бұрын
I really appreciate these lessons/reminders.
@ariap9697
@ariap9697 3 жыл бұрын
you are the best web tutor in youtube without any exageration
@marymagdalenedas
@marymagdalenedas 2 жыл бұрын
jumping with joy here on my first upload on codepen:). also that I figured out the exercise without looking at the solution..dancing the happy dance..yaayaa. Thank you Colt so much for these videos. They are an absolute gem for someone like me with zero web dev knowledge...
@anusha8085
@anusha8085 Жыл бұрын
Really enjoyed the lesson and the assignment. Thank you so much, Colt!
@diegosepulveda8691
@diegosepulveda8691 Жыл бұрын
Thank Colt for this videos where you explain no only the what, but the why of concepts. I think that is a very good differentiation on a teacher
@AllezLeVert
@AllezLeVert 4 жыл бұрын
Thanks, Colt, using these to recap the frontend part of web dev bootcamp on Udemy. Your teaching style really works for me. Great job!
@soumidas4992
@soumidas4992 3 жыл бұрын
This is such an amazing and elaborate tutorial, one of the best on box model. Thank you so much .
@nou9225
@nou9225 3 жыл бұрын
Absolutely amazing video! This helped me a lot, and the exercise was super good and reviews all the topics covered in this tutorial! Thanks!!
@shahadsaleh2180
@shahadsaleh2180 4 жыл бұрын
Colt , you're the best :) btw, I'm taking your web developer bootcamp course at Udemy , and I'm learning a lot from it . God bless :)
@Slimboyfat1979
@Slimboyfat1979 3 жыл бұрын
Just found your channel. Excellent. You are a very very good teacher. Thank you.
@wafaken
@wafaken 4 жыл бұрын
Thanks for this. Even though I already know some of this, there are still so much I learned from this video.
@redahammada8605
@redahammada8605 3 жыл бұрын
Colt just makes CSS cool and easy to learn, thank you buddy .
@nevyanamomchilova8153
@nevyanamomchilova8153 3 жыл бұрын
I absolutely love that video! I learn a lot and I like that you gave us an assignment! Just awesome! Thank you very much for the great content in your channel :)
@AshishKumar-sl4ul
@AshishKumar-sl4ul 4 жыл бұрын
one of the best ..content so far, thanks colt :)
@angelicagabrieli7169
@angelicagabrieli7169 4 жыл бұрын
Colt, thanks to you i understand HTML, CSS AND Javascript. You're awesome and Rusty is adorable :)
@eukelarTV
@eukelarTV 3 жыл бұрын
im gonna be honest im about halfway through the javascript course i had already started on udemy and while i do feel im learning if your full web dev bootcamp is anywhere near as simple and easy to understand as this i may just be switching to your course, I learned A TON in this 45 minutes.
@enriquesneffels3053
@enriquesneffels3053 3 жыл бұрын
Thank you! amazing tutorial and great exercise! I wasn't into the exercise, but I did enjoyed it!
@itsalorikatpnw
@itsalorikatpnw 2 жыл бұрын
I always struggled with the box model. You helped me better understand:) thank you!
@positivelysweet9075
@positivelysweet9075 4 жыл бұрын
Colt, do u know that you're going straight to heaven for this?
@qayyax
@qayyax Жыл бұрын
Thank you so much for this video, this video made me understand the box model. I have been confused with it for a long time
@Leedah8
@Leedah8 4 жыл бұрын
This was sooooo tricky. Lol I did the best I could, but there were small things I was missing. Looked at the solution, and I had all of the right logic, but not the perfect execution. Loved this!
@RobsonRochaCarvalho
@RobsonRochaCarvalho 4 жыл бұрын
Keep up the great work! :)
@Leedah8
@Leedah8 4 жыл бұрын
@@RobsonRochaCarvalho Thank you so much! That means a lot.
@abdalrahmannajjar3545
@abdalrahmannajjar3545 4 жыл бұрын
Thanks a lot Colt ❤️ I love your videos and your method of teaching ❤️, especially your silly jokes 😂
@reemalnaji3718
@reemalnaji3718 3 жыл бұрын
Your contents are amazing. You explained this topic better than my professor does I am so grateful to find your channel. Thank you
@blushandrush9584
@blushandrush9584 2 жыл бұрын
Colt, I love listening to you so much!
@josephnuriev1559
@josephnuriev1559 3 жыл бұрын
Can't say how grateful I am thank you
@voltairinedecleyre
@voltairinedecleyre 4 жыл бұрын
these are great refresher courses
@roya2021
@roya2021 3 жыл бұрын
Colt thanks a lot, for this code camp.
@ead5590
@ead5590 4 жыл бұрын
Ha ha! Now this is one topic that needs a whole video dedicated to it.. But definitely worth investing time in.. In other words, you got no choice but to understand the box model.. 🤣
@aritralahiri8321
@aritralahiri8321 4 жыл бұрын
Very Nice Video Colt
@iKilledMufasaaaaa
@iKilledMufasaaaaa 4 жыл бұрын
Thanks Colt!
@webb-developer
@webb-developer 9 ай бұрын
border, padding, margin ,box-sizing , display ,block , inline , inline-block done , ☑ remaining ==> border clipping , background clip
@doors1122
@doors1122 4 жыл бұрын
thanks colt youre the man
@MohamedOmar-ef8nd
@MohamedOmar-ef8nd 3 жыл бұрын
Thanks alot this is extremely helpful.
@boronxxx
@boronxxx 3 жыл бұрын
Nice one!
@Lowprojects
@Lowprojects 3 жыл бұрын
This helped me alot. Thanks
@mobarakjama5570
@mobarakjama5570 4 жыл бұрын
19:12 Quarantine getting to Colt 😁👌
@TheMolaomar66
@TheMolaomar66 4 жыл бұрын
block -inlineblock - inline i spend years with weard behavior with css . thank you man.
@brainjohn9170
@brainjohn9170 3 жыл бұрын
Thanks Colt
@Moses4694
@Moses4694 2 жыл бұрын
So far I love the way you teach ? You seem like a really humble guy and i reall like that? Also do you have a video on CSS Positioning?
@ahmedhabibahmed99
@ahmedhabibahmed99 4 жыл бұрын
Thanks Teacher
@user-sf9pn1dn1w
@user-sf9pn1dn1w 9 ай бұрын
This is the best so far for me i did wat u did but with different approach and we got the same answer
@seunopeyemi8120
@seunopeyemi8120 2 жыл бұрын
This comes in quite Handy...Do you have more exercises?
@memenetwork7708
@memenetwork7708 4 жыл бұрын
from where should we practice apart from your assignment ??
@chinmay6144
@chinmay6144 3 жыл бұрын
Dude thanks a lot.
@Winterstorm858
@Winterstorm858 4 жыл бұрын
Really usefull, thanks
@hackereports1128
@hackereports1128 4 жыл бұрын
Ty
@ukoni8667
@ukoni8667 5 ай бұрын
Really nice. I though the content in the box with the letter inside was the content.
@chienle1492
@chienle1492 3 жыл бұрын
I'd buy a complete CSS bootcamp course from you if you ever release one.
@binayachauhan52
@binayachauhan52 4 жыл бұрын
hey man what do you use for slides
@vadosic
@vadosic 4 жыл бұрын
thank you, sir
@ssigitas69
@ssigitas69 3 жыл бұрын
I watched already second your video, I think it is the best videos about CSS, what I watched before. Very clear, very understandably and in detail explained. THANK YOU SO MUCH ! I need to find all your courses about HTML, CSS and Python (if you have). I have one question about margin and padding. Many tutorials about creating web pages, teaching on the beginning put *{ margin: 0; padding: 0; } or html, body { margin: 0; padding: 0;} .Ok, when I add margin:0; I can see difference on web page, but when I add padding: 0; nothing changes. Why need padding: 0; ??? Can you show how it is makes changes?
@RafaelJaureguiCaball
@RafaelJaureguiCaball 2 жыл бұрын
What software are you using to code? Is nice to see the changes live instead of switching between note++ and explorer
@f00kwhiteblackracismwarsh07
@f00kwhiteblackracismwarsh07 4 жыл бұрын
Hey Man, Can You please also do the most comprehensive Flutter (dart) Programming Course sometime this Year on Udemy. I really like the way you teach. The best teacher on Udemy ever!
@HexaKafa
@HexaKafa Жыл бұрын
thanks
@JamesHalpert8555
@JamesHalpert8555 3 жыл бұрын
Can you site some use cases for box-sizing and background-clip properties?? Confused where can I apply them :(
@nawanitsharma8353
@nawanitsharma8353 4 жыл бұрын
Colt please teach to write media queries at the end of css part please.
@thesmartest1919
@thesmartest1919 2 жыл бұрын
thank u
@farhan_aftab
@farhan_aftab 4 жыл бұрын
Please add bootstrap videos with project
@kenhilliard5845
@kenhilliard5845 4 жыл бұрын
I understood that an img tag is an inline element, and that you cannot add top and bottom margins (or padding) to an inline element. In your example you gave the "tiger" image a top margin. Did you declare them "inline-block" in css? Could you clarify this point for me?
@jovanxin9714
@jovanxin9714 4 жыл бұрын
Hey Colt, I am in your modern javascript bootcamp. Stephan said someting about a discord server earlier, can you please make one and put a announcement about it? Thank you, it is appreciated.
@donaldnorman7012
@donaldnorman7012 4 жыл бұрын
Colt, At 30:30 of this lesson - CSS Box Model - talking about gradient text background. You say pretty cool, but not with this font. Why is that or how do you decide what font is good for something?
@reviewex9226
@reviewex9226 4 жыл бұрын
image is also an inline element.so how we are able to set height and width to it.
@mansasusa3757
@mansasusa3757 2 жыл бұрын
hello colt, how did you get the double border color to be two.
@hamyou7710
@hamyou7710 3 жыл бұрын
Hi bro do you have full html and css courses that I can buy ? you explain very clearly.
@grainfrizz
@grainfrizz 4 жыл бұрын
GOAT
@sakshamchhatkuli271
@sakshamchhatkuli271 3 жыл бұрын
you are awsome
@chukwuemekaorji9331
@chukwuemekaorji9331 2 жыл бұрын
Thank you so much How can I reach out to you ?
@kumimochi
@kumimochi 4 жыл бұрын
You’re my fave
@reviewex9226
@reviewex9226 4 жыл бұрын
god level
@eusebiumorar962
@eusebiumorar962 2 жыл бұрын
I tried to put margin on the body but it works slightly different.Why?
@Rycountry95
@Rycountry95 4 жыл бұрын
:( Code-pen link does not work it takes me to your home page and says i cant see your projects without upgrading to pro.
@romikonlinepotapenko3475
@romikonlinepotapenko3475 4 жыл бұрын
works for me. Maybe it is because you have an account. Just log out and try again
@bicyclingmartian1873
@bicyclingmartian1873 4 жыл бұрын
Colt, you should try out codesandbox.io
@Moses4694
@Moses4694 2 жыл бұрын
Can you tell me the link of your courses on Udemy?
@D0F4M1N3
@D0F4M1N3 2 жыл бұрын
30:05 nab move... just use width: fit-content;
@PIRAKAS666
@PIRAKAS666 3 жыл бұрын
How come this video on box model (and other topics) is more in depth and longer that the one you got in udemy course? lol
@dywa_varaprasad
@dywa_varaprasad 3 жыл бұрын
I bought Udemy course Will I skip this or watch entire playlist
@binayachauhan52
@binayachauhan52 4 жыл бұрын
forgot about auto and inhherint
@prajwalpatil8500
@prajwalpatil8500 4 жыл бұрын
Hey Colt, did your parents love revolvers?
@yashchauhan5852
@yashchauhan5852 4 жыл бұрын
Skip to 1:14
@yaakovmoskowitz329
@yaakovmoskowitz329 4 жыл бұрын
I love this, but I wish these would be available for Windows as well . I don't know why, but most design & development tutorials are done with Mac-OS, even though the overwhelming majority of people (including myself )use Windows.
@jl_woodworks
@jl_woodworks 3 жыл бұрын
There is nothing on this tutorial that's platform specific. The browser is universal. You just need a text editor and a modern browser to learn and apply this. That's the very reason web apps dominate over native applications.
@akshatbhutra7278
@akshatbhutra7278 4 жыл бұрын
Sir pls explain position: absolute and relative in your style
@ayosnry1710
@ayosnry1710 3 жыл бұрын
21:08 24:24
@marble_wraith
@marble_wraith 4 жыл бұрын
You didn't address one of the most important things. Assuming a border is not required, when should padding be used vs margin? A new dev will look at both of them as being 2 equivalent ways to apply "negative space". The answer being, they're not equivalent. Margin has the potential to auto-collapse, padding does not. developer.mozilla.org/en-US/docs/Web/CSS/CSS_Box_Model/Mastering_margin_collapsing
@Danachew
@Danachew 4 жыл бұрын
I remember it as padding goes "inside" the box, margin goes "outside" the box. So for example, say I want to add space between two elements? Then I go with margins. Now let's say I want a small buffer space between the content and the edge of the window browser when we're getting smaller on mobile devices. Then I go with either padding on the body element or the overall container element.
@ToriKo_
@ToriKo_ 3 жыл бұрын
Danielle thanks that’s pretty helpful
Essential CSS Text Properties - Colt's Code Camp
31:37
Colt Steele
Рет қаралды 11 М.
100❤️
00:20
Nonomen ノノメン
Рет қаралды 75 МЛН
Пробую самое сладкое вещество во Вселенной
00:41
She ruined my dominos! 😭 Cool train tool helps me #gadget
00:40
Go Gizmo!
Рет қаралды 54 МЛН
Sprinting with More and More Money
00:29
MrBeast
Рет қаралды 184 МЛН
Flexbox Crash Course 2024
46:54
Traversy Media
Рет қаралды 417 М.
Top CSS Selectors You Should Know - Colt's Code Camp
40:01
Colt Steele
Рет қаралды 27 М.
CSS Box Model Tutorial for Beginners
25:56
Dave Gray
Рет қаралды 37 М.
How principled coders outperform the competition
11:11
Coderized
Рет қаралды 1,5 МЛН
Colt's Code Camp Day 4 - Forms & Inputs
45:38
Colt Steele
Рет қаралды 20 М.
How to be a git expert
46:26
Floating Little Leaves of Code
Рет қаралды 145 М.
10 modern layouts in 1 line of CSS
21:39
Chrome for Developers
Рет қаралды 1,1 МЛН
Learn flexbox the easy way
34:04
Kevin Powell
Рет қаралды 681 М.
Мечта Каждого Геймера
0:59
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 1,6 МЛН
Will the battery emit smoke if it rotates rapidly?
0:11
Meaningful Cartoons 183
Рет қаралды 23 МЛН
📦Он вам не медведь! Обзор FlyingBear S1
18:26
Apple watch hidden camera
0:34
_vector_
Рет қаралды 64 МЛН