Skip to content

Commit

Permalink
quiz/css: add block to the question title (#476)
Browse files Browse the repository at this point in the history
Co-authored-by: Yangshun Tay <[email protected]>
  • Loading branch information
SamehEtman and yangshun authored Dec 30, 2024
1 parent eda3e2f commit a410b95
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
---
title: What's the difference between `inline` and `inline-block`?
title: What's the difference between `block`, `inline`, and `inline-block`?
---

Let's also compare with `display: block` for completeness sake.

| Property | `block` | `inline-block` | `inline` |
| --- | --- | --- | --- |
| Size | Fills up the width of its parent container. | Depends on content. | Depends on content. |
Expand Down

0 comments on commit a410b95

Please sign in to comment.