This makes it easy to run examples with the web backend, in the same way that winit examples are run.
3 lines
78 B
Rust
3 lines
78 B
Rust
fn main() {
|
|
cargo_run_wasm::run_wasm_with_css("body { margin: 0px; }");
|
|
}
|