quiz/css: add block to the question title (#476)
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
This commit is contained in:
parent
eda3e2fe0e
commit
a410b95391
|
|
@ -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. |
|
||||
|
|
|
|||
Loading…
Reference in New Issue