List of usage examples for com.google.gwt.query.client.css CSS BORDER_COLOR
BorderColorProperty BORDER_COLOR
To view the source code for com.google.gwt.query.client.css CSS BORDER_COLOR.
Click Source Link
The border-color property specifies the color of the 4 borders of a box.
From source file:gwtquery.samples.client.effects.ColorEffectsSample.java
License:Apache License
public void onModuleLoad() { $("#shoot").click(new Function() { public void f() { $("body").animate("backgroundColor: 'red'", 400).delay(1000).animate("backgroundColor: 'white'", 2000);/*from ww w .j a v a 2s . c o m*/ } }); $("#startAnim2").click(new Function() { public void f() { $(".bar").animate("backgroundColor: 'yellow'", 1000).delay(200) .animate("borderColor: '#ff0000'", 1000).delay(200) .animate("color:'rgb(255, 255, 255)'", 1000); } }); $("#resetAnim2").click(new Function() { public void f() { $(".bar").css(CSS.BACKGROUND_COLOR.with(null), CSS.BORDER_COLOR.with(null), CSS.COLOR.with(null)); } }); }