--- date: 2024-02-26 11:57 description: With CSS you can disable any interactions with an element and directly control the underlying element tags: HTML, CSS draft: false --- # Interacting with underlying element in HTML I know that the title is a bit weird. I was trying to interact with a video under an iPhone Bezel Screen frame. ```html
``` ![Video Under a Transparent Image](/assets/underlying/video-under-element.jpg) Turns out, you can disable pointer events! In Tailwind, it is as simple as adding `pointer-events-none` to the bezel screen. In CSS, this can be done by: ```css .className { pointer-events: none } ```