change css properties of li element