mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Update docs/styles/background.md
Co-authored-by: darrenburns <darrenburns@users.noreply.github.com>
This commit is contained in:
@@ -28,7 +28,7 @@ background: rgb(100,120,200);
|
|||||||
|
|
||||||
## Python
|
## Python
|
||||||
|
|
||||||
You can use the same syntax as CSS, or explicitly set a Color object.
|
You can use the same syntax as CSS, or explicitly set a `Color` object for finer-grained control.
|
||||||
|
|
||||||
```python
|
```python
|
||||||
# Set blue background
|
# Set blue background
|
||||||
|
|||||||
Reference in New Issue
Block a user