encre-css 0.20.1

A TailwindCSS-compatible utility-first CSS generation library written in Rust
Documentation
Utilities for setting the maximum height of an element.

<table style="display: table;">
  <thead>
    <tr>
      <th style="text-align: center;">Class</th>
      <th style="text-align: center;">Properties</th>
    </tr>
  </thead>
  <tbody>
    <tr><td>max-h-<i>&lt;float&gt;</i></td><td>max-height: <i>&lt;float / 4&gt;</i>rem;</td></tr>
    <tr><td>max-h-<i>&lt;integer&gt;/&lt;integer&gt;</i></td><td>max-height: (<i>&lt;integer&gt;/&lt;integer&gt;</i>)%;</td></tr>
    <tr><td>max-h-px</td><td>max-height: 1px;</td></tr>
    <tr><td>max-h-none</td><td>max-height: none;</td></tr>
    <tr><td>max-h-full</td><td>max-height: 100%;</td></tr>
    <tr><td>max-h-auto</td><td>max-height: auto;</td></tr>
    <tr><td>max-h-screen</td><td>max-height: 100vh;</td></tr>
    <tr><td>max-h-min</td><td>max-height: min-content;</td></tr>
    <tr><td>max-h-max</td><td>max-height: max-content;</td></tr>
    <tr><td>max-h-fit</td><td>max-height: fit-content;</td></tr>
    <tr><td>max-h-svh</td><td>max-height: 100svh;</td></tr>
    <tr><td>max-h-lvh</td><td>max-height: 100lvh;</td></tr>
    <tr><td>max-h-dvh</td><td>max-height: 100dvh;</td></tr>
  </tbody>
</table>

### Tailwind compatibility

Maximum height values don't follow Tailwind's philosophy of limiting possible values and all
spacing values are supported. They are however perfectly compatible with
Tailwind's values.

### Arbitrary values

Any [`<length>`](crate::utils::value_matchers::is_matching_length) or [`<percentage>`](crate::utils::value_matchers::is_matching_percentage) property is allowed as arbitrary value.
For example, `max-h-[3rem]`.

[Tailwind reference](https://tailwindcss.com/docs/max-height)