- From: Daniel Tonon via GitHub <sysbot+gh@w3.org>
- Date: Wed, 22 Aug 2018 09:49:45 +0000
- To: public-css-archive@w3.org
> Are you setting the img to 30% of the width of the .page element? > > Yep, that's what this EQCSS-powered code does. That wouldn't be how an `ew` unit works in real CSS though. I think if `ew` was used on the `width` property it would equate to the same as if you used `%`. I'm glad the grid tag was removed. This is a unit that should be usable anywhere like the `vw` unit, not just on grid items. Imagine how great it would be to be able to write `font-size: 20ew,`. Now you can have text that scales with the size of its container rather than the size of the viewport! (`font-size: 20vw,`) -- GitHub Notification of comment by Dan503 Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/333#issuecomment-414977283 using your GitHub account
Received on Wednesday, 22 August 2018 09:49:47 UTC