taffy::style_helpers

Function fr

source
pub fn fr<Input: Into<f32> + Copy, T: FromFlex>(flex: Input) -> T
Expand description

Create a Fraction track sizing function (fr in CSS)