add function work to css