Is there a CSS size element in CSS that allows me to define dimensions relative to the parent element,
vwand vh, for example, refer to the width and height of the viewport, respectively.
I want parental relative size for responsive design. Say, for example, my parent element is 400pxwide, I want my text to be half this width, but I'm not sure if I can specify this, or even if such a function will be widely supported.
source
share