Launch Your Cybersecurity Career in 6 Months
Learn Generative AI, Prompt Engineering, and LLMs for Free
Overview
Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This beginner tutorial explains the layers of the CSS box model and how to style them with margin, padding, border, outline, and box-sizing properties. It concludes by creating a circle from a square using border-radius.
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