css: support animation sub-values
css: add border handling