mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Document styles (#785)
* Add docs for CSS variables * Add ref docs for various styles, fix some typos in places
This commit is contained in:
@@ -518,6 +518,8 @@ However, in this case, both `#box1` and `#box2` are assigned to layers.
|
||||
From the `layers: below above;` declaration inside `layers.css`, we can see that the layer named `above` is on top of the `below` layer.
|
||||
Since `#box1` is on the higher layer, it is drawn on top of `#box2`.
|
||||
|
||||
[//]: # (NOTE: the example below also appears in the layers and layer style reference)
|
||||
|
||||
=== "Output"
|
||||
|
||||
```{.textual path="docs/examples/guide/layout/layers.py"}
|
||||
|
||||
Reference in New Issue
Block a user