added border and more attributes

This commit is contained in:
Evan Almloff committed 2022-02-12 14:03:08 -06:00
1 parent 7a1fdeb673
commit f6ef9981dd
7 files changed
+745 -115

No files matched your search

+26 -7
View File
@@ -53,13 +53,6 @@ fn app(cx: Scope) -> Element {
"zib"
"zib"
"zib"
"zib"
"zib"
"zib"
"zib"
"zib"
"zib"
"zib"
}
p {
background_color: "yellow",
@@ -77,6 +70,32 @@ fn app(cx: Scope) -> Element {
background_color: "cyan",
"asd"
}
div {
font_weight: "bold",
color: "#666666",
p{
"bold"
}
p {
font_weight: "normal",
" normal"
}
}
p {
font_style: "italic",
color: "red",
"italic"
}
p {
text_decoration: "underline",
color: "rgb(50, 100, 255)",
"underline"
}
p {
text_decoration: "line-through",
color: "hsl(10, 100%, 70%)",
"line-through"
}
}
})
}