Aby zmienić któryś z parametrów CSS za pomocą mintAjax'a w danym obiekcie, w większości obiekt ten musi mieć nadaną tą wartość.
Czyli jeżeli zmieniasz background-color obiekt musi mieć nadany jakiś background-color.
function ColorIn() {
mint.fx.Color("box", "backgroundColor", null, "B22222", 20, 500);
mint.fx.Color("box", "borderColor", null, "000000", 20, 500);
}
function ColorOut() {
mint.fx.Color("box", "backgroundColor", null, "B7C059", 20, 500);
mint.fx.Color("box", "borderColor", null, "8F9D11", 20, 500);
}
<div id="box" onmouseover="ColorIn()" onmouseout="ColorOut()" style="border: solid; width: 100px; height: 100px; background-color: #ff8000;"> tutaj zmiany
</div>