code: public Effects animate(Object stringOrProperties, int duration, Function... funcs) {
      return animate(stringOrProperties, duration, EasingCurve.linear, funcs);
    }
docs: The animate() method allows you to create animation effects on any numeric
  Attribute, CSS properties, or color CSS property.
  
  Concerning to numeric property, values are treated as a number of pixels
  unless otherwise specified. The units em and % can be specified where
  applicable.
  
  By default animate considers css properties, if you wanted to animate element
  attributes you should to prepend the symbol dollar to the attribute name.
  
  Example:
  
  <pre class="code">
  // move the element from its original position to left:500px for 2s
  $("#foo").animate("left:'500px'", 2000);
  // Change the width attribute of a table
  $("table").animate("$width:'500'"), 400);
  </pre>
  
  In addition to numeric values, each property can take the strings 'show',
  'hide', and 'toggle'. These shortcuts allow for custom hiding and showing
  animations that take into account the display type of the element. Animated
  properties can also be relative. If a value is supplied with a leading +=
  or -= sequence of characters, then the target value is computed by adding
  or subtracting the given number from the current value of the property.
  
  Example:
  
  <pre class="code">
  // move the element from its original position to 500px to the left for 1000ms and
  // change the background color of the element at the end of the animation
  $("#foo").animate("left:'+=500'", 1000, new Function(){
  public void f(Element e){
  $(e).css(CSS.BACKGROUND_COLOR.with(RGBColor.RED);
  }
  });
  </pre>
  
  For color css properties, values can be specified via hexadecimal or rgb or
  literal values.
  
  Example:
  
  <pre class="code">
  $("#foo").animate("backgroundColor:'red', color:'#ffffff', borderColor:'rgb(129, 0, 70)', 1000");
  </pre>
  
  @param stringOrProperties the property to animate : "cssName:'value'"
  @param funcs an array of {@link Function} called once the animation is
  complete
  @param duration the duration in milliseconds of the animation