use a view for css generation