4.12 components.print-none Do not print
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
This item will not be printed.
Markup: components/print-none/print-none.twig
<span class="xml"><span class="hljs-tag"><<span class="hljs-name">p</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"print-none"</span>></span>
This item will not be printed.
<span class="hljs-tag"></<span class="hljs-name">p</span>></span>
</span>
Source:
components/print-none/_print-none.scss
, line 1