Answer the question
In order to leave comments, you need to log in
How to hide all elements except a certain one?
It is necessary to hide all blocks except for a certain one (to print the media print page)
I do:
*{
display:none;
}
#print{
display: block !important;
}
Answer the question
In order to leave comments, you need to log in
Hide child body blocks by comma-separated listing instead of a general selector.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question