1
votes

I have:

@media all and (-ms-high-contrast:none), (-ms-high-constrast:avtive) { css code here }

and I want it to by also with:

@media only screen and (max-width:768px){}

Is that possible in CSS

1
Not sure but wouldn't this work? @media only screen and (max-width:768px) and (-ms-high-contrast:none), (-ms-high-constrast:avtive) { css code here } - Nico Shultz
Yes, that works. Thanks 😅 - Ghiath Sardast

1 Answers

0
votes

Nico Shultz:

Not sure but wouldn't this work?

@media only screen and (max-width:768px) and (-ms-high-contrast:none), (-ms-high-constrast:avtive) { css code here }