W3C home > Mailing lists > Public > public-css-archive@w3.org > June 2016

Re: [csswg-drafts] [css-round-display][mediaquery] Properly define 'viewport-fit'

From: Florian Rivoal via GitHub <sysbot+gh@w3.org>
Date: Tue, 21 Jun 2016 05:55:03 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-227347428-1466488502-sysbot+gh@w3.org>
Also, the syntax in your examples is incorrect.

`@viewport (viewport-fit: cover) { /* styles for the round screen */ }
`
should be
```

@viewport {
  viewport-fit: cover;
}
@media (shape: round) {
  /* styles for the round screen */
}
@media (shape: rect) {
  /* styles for the rectangular screen */
}

```

-- 
GitHub Notification of comment by frivoal
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/171#issuecomment-227347428 
using your GitHub account
Received on Tuesday, 21 June 2016 05:55:05 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:30:20 UTC