Apply to all elements, not just input.