add dom css function, had test