Dynamic style for DOM nodes