modularise dropdown css