E
E
Evgeniy Kvasyuk2015-10-26 12:27:40
css
Evgeniy Kvasyuk, 2015-10-26 12:27:40

How to make a hole in a DIV (not just the background)?

You need to create a block that will overlap all the content, but this block must have a "hole" in a certain area, through which all the controls that are under it will be accessible. Is it possible to do this without cutting the floor block into pieces?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Anton Vanin, 2015-10-26
@EvgeniyKvasyuk

Try using a z-index higher than your div for controls

R
Rafael™, 2015-10-26
@maxminimus

You make a div that will be a "window"
You put a div in it that will contain everything that will be visible in the "window"
You make this inner container div larger than the "window"
And position it absolutely inside the window Do the
window overflow hayden

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question