Some of the tutorials and examples I have seen for developing jQuery plugins tend to return
this.each(function () { //Plugin code here });
jQuery supports "chainable methods", which means that most jQuery functions should return this. .each() returns this, and if you want $('selector').yourPlugin().css(...) to work, you should return this.
this
$('selector').yourPlugin().css(...)
return this