You cannot prevent that. Gmail only supports what it supports. Anything else gets stripped.
This is a fairly new CSS style so it evidently hasn't been whitelisted by Gmail.
However, you might like to try more standard responsiveness with @media queries, which do work (https://www.caniemail.com/features/css-at-media/).