Shrinks the width of the given HTML element(s) until the text wraps to a new line,
then restores the width to the minimum value that fits the text on a single line.
This function is useful for "hugging" text content by reducing the element's width
to the smallest possible value before the content overflows or wraps.
Shrinks the width of the given HTML element(s) until the text wraps to a new line, then restores the width to the minimum value that fits the text on a single line.
This function is useful for "hugging" text content by reducing the element's width to the smallest possible value before the content overflows or wraps.