taffy

Module style_helpers

source
Expand description

Helper functions which it make it easier to create instances of types in the style and geometry modules.

Traits§

Functions§

  • Returns the auto value for that type
  • Returns a grid template containing count evenly sized tracks
  • Returns a value of the inferred type which represent a fit-content(…) value with the given argument.
  • Shorthand for minmax(0, Nfr). Probably what you want if you want exactly evenly sized tracks.
  • Create a Fraction track sizing function (fr in CSS)
  • Returns a value of the inferred type which represent an absolute length
  • Specifies a grid line to place a grid item between in CSS Grid Line coordinates:
  • Returns the auto value for that type
  • Returns the auto value for that type
  • Returns a MinMax with min value of min and max value of max
  • Returns a value of the inferred type which represent a percentage
  • Returns an auto-repeated track definition
  • Returns a GridPlacement::Span
  • Returns the zero value for that type