generate css rules on the fly...first try