Two CSS Properties For Trimming Text Box Whitespace | CSS-Tricks
September 14, 2024
The text-box-trim and text-box-edge properties in CSS enable developers to trim specifiable amounts of the whitespace that appear above the first formatted line of text and below the last formatted line of text in a text box, making the text box vertically larger than the content within.
Source: Two CSS Properties For Trimming Text Box Whitespace | CSS-Tricks
Relative new and very useful CSS properties for managing whitespace around text.