Use JS to detect the user agent string of the brower to detect if the user if on IE or Edge.
function isMicrosoft(){
var agent = window.navigator.userAgent;
var msie = agent.indexOf('MSIE ')
var msie11 = agent.indexOf('Trident/');
var edge = agent .indexOf('Edge/');
if(msie > 0 || msie11 > 0 || edge > 0) return true;
else return false;
}
Then add a class to the <body>
element if the user is using one of these browsers.
if(isMicrosoft()){
document.body.classList.add('has-ms');
}
Then in the CSS you can target the .has-ms
class to disable any CSS animations
.has-ms .animated-item {
animation: none;
}