Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

CSS Box Model Tutorial for Beginners

Dave Gray via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn the fundamentals of the CSS Box Model in this comprehensive tutorial for beginners. Explore the different layers of the box model and understand how they work together to create layouts. Discover CSS box sizing techniques and apply various box model layers effectively. Dive into topics such as default browser styles, CSS reset, margin and padding properties, border styling, outlines, and even learn how to transform a box into a circle. Gain practical knowledge through hands-on examples and enhance your web development skills with this essential CSS concept.

Syllabus

Intro
Welcome
Setup
Exploring the CSS Box Model
Default Browser Styles
CSS Reset
box-sizing
Styling elements with the box model
Margin properties and shorthand
Padding properties and shorthand
Border properties and shorthand
Outline and outline-offset
Turn a box into a circle

Taught by

Dave Gray

Reviews

Start your review of CSS Box Model Tutorial for Beginners

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.