quiz/css: add block to the question title (#476)

Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
This commit is contained in:
Sameh Othman 2024-12-30 13:59:55 +02:00 committed by GitHub
parent eda3e2fe0e
commit a410b95391
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 3 deletions

View File

@ -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. |