I'm doing a CSS to control the printing of a page.
The only thing I will show in the print is an image that is on the page.
So in CSS I did like this:
*:not(#imagem-draw){
display: none;
}
But the result is that it shows nothing. How can I do this with CSS?
<div id="content" class="colorir">
<div class="main">
<div id="draw-action">
<div id="desenho">
<img src="img/imagem.png" alt="" class="desenho" id="sketch-draw">
</div>
</div>
</div>
</div>