定制 coliff/bootstrap-print-css 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

coliff/bootstrap-print-css

Composer 安装命令:

composer require coliff/bootstrap-print-css

包简介

Bootstrap 5 Print Stylesheet

README 文档

README

LICENSE GitHub Super-Linter GitHub Stars npm Version

Bootstrap Print CSS 🖨️

Bootstrap 5 no longer includes custom CSS for printing - with the CSS in this project you can add it back.

Note: This should improve the experience when printing, but there are bugs and inconsistencies with the way that browsers handle printing so testing is recommended.

Quick Start

  • Download the latest release
  • Clone the repository git clone https://github.com/coliff/bootstrap-print-css.git
  • Install with npm npm install bootstrap-print-css
  • Install with Yarn yarn add bootstrap-print-css
  • Install with Composer composer require coliff/bootstrap-print-css

Usage

You can include the CSS with one of the following:

  1. Import the bootstrap-print.css to your main CSS. This will mean one less HTTP request compared to loading it separately.

  2. Load it as a separate CSS file <link rel="stylesheet" href="/css/bootstrap-print.min.css" media="print">

Credits & Thanks

All credit for the CSS work goes to the HTML5 Boilerplate and Bootstrap teams. I've just copied the Bootstrap 4 print styles and packaged them up for Bootstrap 5.

统计信息

  • 总下载量: 1
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 58
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 58
  • Watchers: 4
  • Forks: 13
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-07-08