changed [dimension] to .css(dimension) for #13757

fixes #13757