css feature detection code example
Example: feature detect css
@supports (flex-flow: row) and (flex: 1) {
main {
display: flex;
}
main div {
padding-right: 4%;
flex: 1;
}
main div:last-child {
padding-right: 0;
}
}
@supports (flex-flow: row) and (flex: 1) {
main {
display: flex;
}
main div {
padding-right: 4%;
flex: 1;
}
main div:last-child {
padding-right: 0;
}
}