Updated get css method