iOS CSS

by juberti

CSS

body {
  background-color: blue;  
}

@supports (-webkit-touch-callout: none) {
  body {
    /* The parent here should already be height: 100%, but this is necessary
     * to prevent contained elements from being cut off on iOS. See b/173560460.
     */
    background-color: red;
  }
}