Converts a pixel size to a fraction (fr) unit based on the parent container's size.
fr
The size in pixels.
The parent container element.
The orientation of the grid ("vertical" or "horizontal").
A string representing the size in fr units.
Converts a pixel size to a fraction (
fr) unit based on the parent container's size.