button inside another button onclick both code example Example: does click event work only for buttons button > * { pointer-events: none; }