Is there a way to prevent an element to run a css animation no matter if js is active or not. The js is active part is basically already covered by modernizer in my case:
.fp-bb {
.cssanimationsjs &:hover {
@include animation('box-up 1s');
height:100%;
overflow:hidden;
}
.cssanimationsjs &:hover .fp-pro-excerpt {
display:block;
}
.fp-pro-excerpt {
display:none;
}
}
only problem this covers only the case if js is active if it is inactive in both cases, for the supported browser as well as the unsupported browser, no animation is run cuz the .cssanimationsjs class is missing for no-js.
But would there be an elegant solution to manage that on supported browsers the css animation is run no matter if js is active or not and for unsupported browser don’t run any animation at all no matter if js is active or not. Best regards Ralf