I want to combine @media and @support so that I do not have to put same css class and properties two times for IE11 and Edge.
Please refer following code snippet:
/* IE 10+ */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
.my_css_class{
padding: 38px 15px 0px !important;
}
}
/* Microsoft Edge */
@supports (-ms-ime-align:auto) {
.my_css_class {
padding: 38px 15px 0px !important;
}
}
something like:
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none), @supports (-ms-ime-align:auto) {
.my_css_class{
padding: 38px 15px 0px !important;
}
}
In CSS do we have some way to merge or combine properties for two browsers instead to have same properties/class two times.