Normalize a CSS z-index to an f32 floating-point number between 0.0 and 1.0.
Try it in the Rust Playground