Click through div to underlying elements
Asked 07 September, 2021
Viewed 1.6K times
css
  • 55
Votes

I have a div that has background:transparent, along with border. Underneath this div, I have more elements.

Currently, I'm able to click the underlying elements when I click outside of the overlay div. However, I'm unable to click the underlying elements when clicking directly on the overlay div.

I want to be able to click through this div so that I can click on the underlying elements.

My Problem

css

17 Answer