If your browser supports display: grid or display: -ms-grid, the text and border will be red.
.box { border: 4px solid blue; color: blue; } @supports (display: grid) or (display: -ms-grid) { .box { border: 4px solid red; color: red; } }
If your browser supports display: grid or display: -ms-grid, the text and border will be red.