split css into a file and button to generate X nodes