Answers for "exclude html content when print"

CSS
0

exclude html content when print

put this code in style tag
@media print
{    
    .no-print, .no-print *
    {
        display: none !important;
    }
}
Posted by: Guest on September-18-2021

Browse Popular Code Answers by Language