Improve text-align example.

Replace statics with labels; change to a 2 x 2 grid layout to make it easier to see the difference between 'center' and 'justify'; increase readability by setting 'color: auto' in the labels.
This commit is contained in:
Rodrigo Girão Serrão
2023-01-06 10:40:31 +00:00
parent 7743feadff
commit 042bc3b3fe
3 changed files with 27 additions and 28 deletions

View File

@@ -35,7 +35,7 @@ This example shows, from top to bottom: `left`, `center`, `right`, and `justify`
=== "text_align.css"
```css
```css hl_lines="2 7 12 17"
--8<-- "docs/examples/styles/text_align.css"
```