Is it possible to undo a previous css 'transform' applied to an element and apply a new rule? Although we often use '!important' in css to override rules with higher priority, it seems that '!important' is not working on a transform property:
.mk-flipbox-front {
-webkit-transform: translateX(100%);
transform: translateX(100%);
}
I would like to change this to:
.mk-flipbox-front {
-webkit-transform: translateX(100%) rotateY(0deg);
transform: translateX(100%) rotateY(0deg);
}
However, using '!important' like this does not work:
transform: translateX(100%) rotateY(0deg) !important;
It does not function properly and breaks the code.
Is there a way to apply '!important' to a transform property with multiple values?