- From: Prashasti Kapadia via GitHub <sysbot+gh@w3.org>
- Date: Thu, 10 Mar 2022 21:51:36 +0000
- To: public-css-archive@w3.org
@mirisuzanne When we use a rule mentioning the viewport height /width, and having a container as a parent, is it possible to use the container's height/width instead of the viewports? ``` .parent { contain: size layout; } .child { font-size: 2vw; } ``` I want the child's font-size as per parent's width and not the viewports. -- GitHub Notification of comment by pnkapadia64 Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5989#issuecomment-1064538033 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 10 March 2022 21:51:37 UTC