better element structure
This commit is contained in:
+2
-2
@@ -12,13 +12,13 @@ pub fn examples() -> Element {
|
||||
|
||||
pub fn styling() -> Css {
|
||||
css! {
|
||||
.btn {
|
||||
"btn" {
|
||||
x: Center,
|
||||
y: Center,
|
||||
color: Red,
|
||||
}
|
||||
|
||||
.btn: clicked {
|
||||
"btn": clicked {
|
||||
color: Blue,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user