There are currently viewport-based units in CSS like
vw
,
vh
,
vmin
, and
vmax
which represent 1/100th of the viewport's width, height, shortest edge, or longest edge.
I am curious if having element-based CSS units could be useful. The
%
unit in CSS is already kind of like what
ew
would be likeā¦but what would
eh
,
emin
, and
emax
units be like?