Hello everyone, it's time to make a printed version of the site, a question has appeared. In the html code of the page, the images that are hidden outside the browser are located, when viewing the printed version of the page, all the images appear on the printed page, and occupy the entire page, thereby making 8 pages, the question is this.
Is it possible to do either, maybe through @media print { } Or via js, so that when opening the printed version of the page, some html code with images is not displayed? Thank. Here is the code
<div class="container"> <div id="content-slider"> <div id="slider"> <div id="mask"> <ul> <li id="first" class="firstanimation"> <a href="#"> <img src="images/img_1.jpg" alt="Cougar" width="100%" height="100%"/> </a> <div class="tooltip"> <h1>Cougar</h1> </div> </li> <li id="second" class="secondanimation"> <a href="#"> <img src="images/img_2.jpg" alt="Lions" width="100%" height="100%"/> </a> <div class="tooltip"> <h1>Lions</h1> </div> </li> <li id="third" class="thirdanimation"> <a href="#"> <img src="images/img_3.jpg" alt="Snowalker" width="100%" height="100%"/> </a> <div class="tooltip"> <h1>Snowalker</h1> </div> </li> <li id="fourth" class="fourthanimation"> <a href="#"> <img src="images/img_4.jpg" alt="Howling" width="100%" height="100%"/> </a> <div class="tooltip"> <h1>Howling</h1> </div> </li> <li id="fifth" class="fifthanimation"> <a href="#"> <img src="images/img_5.jpg" alt="Sunbathing" width="100%" height="100%"/> </a> <div class="tooltip"> <h1>Sunbathing</h1> </div> </li> </ul> </div> <div class="progress-bar"></div> </div> </div> </div>