Does anyone know how it would be possible to trigger a class delete if clicked outside the div element? I still want the X to function as it does,
div
X