transporting ball size to CSS