print media css

CSS
@media print {
  /* styling goes here */
  .example {
    display: none;
  }
}
Source

Also in CSS: