rebuilding css structure