Generate css classes