mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Add opacity docs
This commit is contained in:
30
docs/examples/styles/opacity.css
Normal file
30
docs/examples/styles/opacity.css
Normal file
@@ -0,0 +1,30 @@
|
||||
#zero-opacity {
|
||||
opacity: 0%;
|
||||
}
|
||||
|
||||
#quarter-opacity {
|
||||
opacity: 25%;
|
||||
}
|
||||
|
||||
#half-opacity {
|
||||
opacity: 50%;
|
||||
}
|
||||
|
||||
#three-quarter-opacity {
|
||||
opacity: 75%;
|
||||
}
|
||||
|
||||
#full-opacity {
|
||||
opacity: 100%;
|
||||
}
|
||||
|
||||
Screen {
|
||||
background: antiquewhite;
|
||||
}
|
||||
|
||||
Static {
|
||||
height: 1fr;
|
||||
background: lightseagreen;
|
||||
content-align: center middle;
|
||||
text-style: bold;
|
||||
}
|
||||
Reference in New Issue
Block a user