[CSS3] Hide some DOM element while print

  <style>
    @media print {
      .no-print {
        display: none !important;
      }
    }
  </style>
<div class="overlay--container no-print" >...</div>

 

posted @ 2023-03-16 22:23  Zhentiw  阅读(7)  评论(0编辑  收藏  举报