Full-Stack freelance Umbraco developer in the UK.

George Phillipson - Freelance Umbraco developer

CSS supports directives

@supports ( display: flexbox ) {
  body { background-color:red }
}
@supports (display: flex) {
    #flexbox-not-supported {
        display:none;
    }
}
#flexbox-not-supported {
    display: none;
}
@supports not (display: flex) {
    #flexbox-not-supported {
        display:block;
        visibility:visible;
    }
}

Please enter your comment.