There are many ways of achieving it.
You can use the following
getElement().setAttribute( "name", "value" );
Here provide CSS attribute name you want to modify and provide the value.
getElement().setClassName( "className" );
getElement().addClassName( "className" );
Here provide the CSS classname( it can be any name). Use the same className in your CSS file and do all the manipulation you need.