fix(curriculum): update block element in basic css review (#59784)

This commit is contained in:
Supravisor
2025-04-18 02:33:39 +12:00
committed by GitHub
parent aa451dbac9
commit e115cd8759
@@ -120,7 +120,7 @@ ul ~ p {
## Inline, Block, and Inline-Block Level Elements
- **Inline Level Elements**: Inline elements only take up as much width as they need and do not start on a new line. These elements flow within the content, allowing text and other inline elements to appear alongside them. Common inline elements are `span`, `anchor`, and `img` elements.
- **Block Level Elements**: Block level elements that take up the full width available to them by default, stretching across the width of their container. Some common block-level elements are `div`, `paragraph`, and `section` elements.
- **Block Level Elements**: Block-level elements start on a new line and take up the full width available to them by default, stretching across the width of their container. Some common block-level elements are `div`, `paragraph`, and `section` elements.
- **Inline-Block Level Elements**: You can set an element to `inline-block` by using the `display` property. These elements behave like inline elements but can have a `width` and `height` set like block-level elements.
## Margin and Padding