Skip to content

Commit

Permalink
Delete and combine examples
Browse files Browse the repository at this point in the history
Signed-off-by: Nico Burns <[email protected]>
  • Loading branch information
nicoburns committed Dec 20, 2024
1 parent c795d15 commit eff640c
Show file tree
Hide file tree
Showing 14 changed files with 71 additions and 449 deletions.
20 changes: 0 additions & 20 deletions examples/accessibility.rs

This file was deleted.

64 changes: 0 additions & 64 deletions examples/bare_style.rs

This file was deleted.

42 changes: 0 additions & 42 deletions examples/flex_order.rs

This file was deleted.

Binary file removed examples/google.png
Binary file not shown.
37 changes: 0 additions & 37 deletions examples/google.rs

This file was deleted.

11 changes: 0 additions & 11 deletions examples/gosub.rs

This file was deleted.

71 changes: 71 additions & 0 deletions examples/inline_block.rs → examples/inline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,55 @@ fn app() -> Element {
span { class: "c", "venenatis" }
" gravida nisl sit amet facilisis. Nullam cursus fermentum velit sed laoreet. "
}
div { id: "a",
"Some text"
em { "Another block of text" }
"Should connect no space between"
}
h1 { "ul" }
ul {
li { "Item 1" }
li { "Item 2" }
li {
class: "square",
"Square item"
}
li {
class: "circle",
"Circle item"
}
li {
class: "disclosure-open",
"Disclosure open item"
}
li {
class: "disclosure-closed",
"Disclosure closed item"
}
}
h1 { "ol - decimal" }
ol {
li { "Item 1" }
li { "Item 2" }
li {
ul {
li { "Nested Item 1" }
li { "Nested Item 2" }
}
}
li { "Item 3" }
li { "Item 4" }
ol {
li { "Sub 1" }
li { "Sub 2" }
}
}
h1 { "ol - alpha" }
ol { class: "alpha",
li { "Item 1" }
li { "Item 2" }
li { "Item 3" }
}
}
}
}
Expand Down Expand Up @@ -65,4 +114,26 @@ span.c {
border: 1px solid blue;
background-color: yellow;
}
#a {
}
h1 {
font-size: 20px;
}
ol.alpha {
list-style-type: lower-alpha;
}
li.square {
list-style-type: square;
}
li.circle {
list-style-type: circle;
}
li.disclosure-open {
list-style-type: disclosure-open;
}
li.disclosure-closed {
list-style-type: disclosure-closed;
}
"#;
59 changes: 0 additions & 59 deletions examples/layout_debug.rs

This file was deleted.

5 changes: 0 additions & 5 deletions examples/parse_debug.rs

This file was deleted.

Binary file removed examples/screenshot.png
Binary file not shown.
55 changes: 0 additions & 55 deletions examples/scroll.rs

This file was deleted.

14 changes: 0 additions & 14 deletions examples/servo.rs

This file was deleted.

Loading

0 comments on commit eff640c

Please sign in to comment.