Bootstrap Print CSS – Bootstrap 5 no longer includes custom CSS for printing – with CSS in this project you can add it back in. Add the missing print stylesheet to a BS5 project. Helps improve the experience when printing a Bootstrap 5 page.
Note: This should improve the experience when printing, but there are errors and inconsistencies with the way browsers handle printing, so testing is recommended.
How to make use of it:
1. Download the bundle and add the bootstrap-print.min.css to the web page.
# Yarn $ yarn add bootstrap-print-css # NPM $ npm i bootstrap-print-css --save
<link rel="stylesheet" href="/css/bootstrap-print.min.css" media="print" />
Credits and Thanks
All credit for the CSS work goes to the HTML5 teams Boilerplate and Bootstrap. I just copied the Bootstrap 4 print styles and compiled them into Bootstrap 5.
Print Style Sheet For Bootstrap 5, Bootstrap Print CSS Plugin/Github, bootstrap print css download, bootstrap 5 display
See Demo And Download
Official Website(coliff): Click Here
This superior jQuery/javascript plugin is developed by coliff. For extra Advanced usage, please go to the official website.