<figure>
  <div class="box"></div>
  <figcaption>
    Box 1: A box with a mask that uses a linear gradient with hard stop positions.
    It cuts off the bottom 10% of the element.
  </figcaption>
</figure>

<figure>
  <div class="box"></div>
  <figcaption>
    Box 2: A box with a mask that uses a linear gradient without a final stop
    position. It tapers off the bottom 10% of the element.
  </figcaption>
</figure>

RESULT