added css code generation