The @supports rule (92% browser support July 2017) rule can be used for conditional logic on css properties:
@supports (display: -webkit-box) {
.for_older_webkit_browser { display: -webkit-box }
}
@supports not (display: -webkit-box) {
.newer_browsers { display: flex }
}