This example is running in WebGL2 and should work in most browsers. You can check the WebGPU examples here.
//! This example illustrates the [`UIScale`] resource from `bevy_ui`. use ; const SCALE_TIME: u64 = 400; /// System that changes the scale of the ui when pressing up or down on the keyboard.