6.3 utility.print-none Do not print

Toggle example guides Toggle HTML markup

Removes an element from the print version of the web site.

By importing these CSS rules in a file marked as media "all", we allow these print rules to be aggregated with other stylesheets, for improved front-end performance.

Example
Markup: utility/print-none/print-none.twig
<p class="print-none">
  This item will not be printed.
</p>
Source: utility/print-none/_print-none.scss, line 1