add a position mixin
update api
add pos mixin and update bg color mixin