generate css to draft