Added get css method to component