Skip to content

Commit

Permalink
Add 'hidden-in-print' css complete example.
Browse files Browse the repository at this point in the history
  • Loading branch information
StianJul committed May 29, 2018
1 parent 8bf1463 commit a90cdc8
Showing 1 changed file with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,23 @@ Example: {type: isolated} Hidden when printing
This is not visible when printing
</span>
Example: {type: isolated} Hidden when printing complete example
<h3>This is a print friendly page</h3>
<p>
Everything will be visible in the printed version except the "Print page" button.
</p>
<p>
Click the "Print page" button to see a preview of the printed page.
</p>
<span class="hidden-in-print">
<button class="button button-default" onClick="window.print()">
Print page
</button>
</span>
Styleguide screen.print
*/

Expand Down

0 comments on commit a90cdc8

Please sign in to comment.