HomeОбразованиеRelated VideosMore From: The Net Ninja

CSS Tutorial For Beginners 37 - Margins

267 ratings | 10908 views
Yo ninjas, in this CSS lesson we're gonna dive deeper into the box model and take a look at CSS margins! Margins control the spacing of elements from one another and work in a clockwise fashion. This means we can apply a margin to the top, right, bottom and left. We'll learn about each one, as well as the margin auto value, in this CSS tutorial. SUBSCRIBE TO CHANNEL - https://www.youtube.com/channel/UCW5YeuERMmlnqo4oq8vwUpg?sub_confirmation=1 ========== CSS for Beginners Playlist ========== https://www.youtube.com/playlist?list=PL4cUxeGkcC9gQeDH6xYhmO-db2mhoTSrT ========== HTML Basics Course ========== https://www.youtube.com/playlist?list=PL4cUxeGkcC9ibZ2TSBaGGNrgh4ZgYE6Cc ========== The Net Ninja ============ For more front-end development tutorials & to black-belt your coding skills, head over to - https://www.youtube.com/channel/UCW5YeuERMmlnqo4oq8vwUpg or http://thenetninja.co.uk ========== Social Links ========== Twitter - @TheNetNinja - https://twitter.com/thenetninjauk
Html code for embedding videos on your blog
Text Comments (14)
Ashraf Khan (2 days ago)
You are so funny 😂😂😂 , Yo What the hell is going on guys? 😂😂😂😂Yo! Master! The way you say guys feels like you are fed up of teaching us all😂😂😂
Sarah (8 months ago)
This is amazing, thank you so much. I didn't know a simple way to center elements horizontally in a page. This solves a big problem for me.
Margo Darden (9 months ago)
I wanted to know if you made videos about the responsive design of a website or can you explain how I would fix the situation you got into in your video other than Great Videos to look in order to learn.
Sean Calma (9 months ago)
Thank you for your videos.. Best tutor ever!!!! Why do we have to remove padding in order for the percentage technique to work? Are you just trying to make the math easier to comprehend or could we add percentages to the padding (width+padding+margin=100%)? Also, will some browsers have a default padding size therefore making it necessary to override?
Nacho Oncina (9 months ago)
The Steam icon is active on the taskbar . It seems that someone is entertained between video and video... :D
Tejan Dua (1 year ago)
Did anyone else notice the game updating on steam? :3
Tejan Dua (1 year ago)
Thank you Net Ninja, your tutorials are amazing. Simple and concise, really helping me out.
Ram Guru Vignesh (1 year ago)
Man, you're awesome.
The Net Ninja (1 year ago)
Thanks :)
Georgi Moskov (1 year ago)
How to deal with margin collapse if I want to have different margin-top and margin-bottom :)
ahmetomer (1 year ago)
Everything is good,but there's one thing annoys me that you dont use the live preview
ahmetomer (1 year ago)
thank god you stop doing it, if you do it again I'll email adobe to ban you from using brackets 😂😂😂 keep up your good vids
The Net Ninja (1 year ago)
Hey... Yeah not sure why I didn't. These were some of the first vids on the channel.. But pretty much everything after this series uses some form of live update.
Sameh Abbadi (1 year ago)
Thanks!

Would you like to comment?

Join YouTube for a free account, or sign in if you are already a member.