Re: [csswg-drafts] [css-grid][css-sizing] Aspect Ratio

Here's an interesting request: https://twitter.com/nhoizey/status/1054712116534489089

Fluid video (that has an aspect ratio, like 16x9), with fixed-height controls running along the length of the video directly underneath. I remember this being super common in the days of flash player for video. I haven't seen this since people switched away from Flash, but perhaps it's still common.

Something like this might be the solution: 
```
.video {
  width: 100%;
  height: calc(.5625tr + 25px);
}
``` 

-- 
GitHub Notification of comment by jensimmons
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/333#issuecomment-432230212 using your GitHub account

Received on Tuesday, 23 October 2018 12:41:53 UTC