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

YouTube

CSS Display Property Explained - Block, Inline, Inline-Block, None

TheCoderCoder via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn how the CSS display property controls element behavior through this 15-minute tutorial covering block, inline, inline-block, and none values. Explore how block elements take up full width and stack vertically, while inline elements flow horizontally within text content. Discover the differences in how padding, border, and margin properties affect each element type, with block elements respecting all spacing properties and inline elements having limitations with vertical spacing. Master the inline-block value that combines characteristics of both block and inline elements, allowing elements to sit side-by-side while maintaining block-level spacing control. Understand when and how to use display: none to completely hide elements from the page layout, and get an introduction to CSS layout modes for building more complex designs.

Syllabus

- the display property
- block elements
- inline elements
- block vs inline
- inline-block
- display: none
- Layout Modes

Taught by

Coder Coder

Reviews

Start your review of CSS Display Property Explained - Block, Inline, Inline-Block, None

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.