当前位置:网站首页>Set the print page style by modifying style
Set the print page style by modifying style
2022-07-06 06:20:00 【mojocube】
HTML We usually need to modify the style in printing , To meet the printing requirements , For example, hide some controls , Modify some styles, etc , We can modify style style , To achieve the desired effect :
<style>
@media print {
.print{display:block !important;}
.box{border-top:0px !important}
.box-header,.box-title,.box-footer,.main-footer{display:none !important}
}
</style>
边栏推荐
- Overview of three core areas of Mathematics: geometry
- 把el-tree选中的数组转换为数组对象
- MySQL之基础知识
- Manage configuration using Nacos
- 黑猫带你学UFS协议第4篇:UFS协议栈详解
- Application du Groupe Li dans gtsam
- PAT(乙级)2022年夏季考试
- [API interface tool] Introduction to postman interface
- Summary of the post of "Web Test Engineer"
- 【MQTT从入门到提高系列 | 01】从0到1快速搭建MQTT测试环境
猜你喜欢
【MQTT从入门到提高系列 | 01】从0到1快速搭建MQTT测试环境
Application du Groupe Li dans gtsam
【Postman】测试(Tests)脚本编写和断言详解
D - How Many Answers Are Wrong
JWT-JSON WEB TOKEN
[postman] test script writing and assertion details
Manhattan distance sum - print diamond
[C language] string left rotation
The latest 2022 review of "graph classification research"
Career advancement Guide: recommended books for people in big factories
随机推荐
模拟卷Leetcode【普通】1314. 矩阵区域和
Simulation volume leetcode [general] 1143 Longest common subsequence
Is the test cycle compressed? Teach you 9 ways to deal with it
D - How Many Answers Are Wrong
LeetCode 729. 我的日程安排表 I
黑猫带你学UFS协议第4篇:UFS协议栈详解
Redis core technology and basic architecture of actual combat: what does a key value database contain?
LeetCode 731. 我的日程安排表 II
模拟卷Leetcode【普通】1109. 航班预订统计
二维码的前世今生 与 六大测试点梳理
Basic knowledge of error
Simulation volume leetcode [general] 1296 Divide an array into a set of consecutive numbers
F - true liars (category and search set +dp)
RestTemplate、Feign实现Token传递
MFC关于长字符串unsigned char与CString转换及显示问题
Simulation volume leetcode [general] 1061 Arrange the smallest equivalent strings in dictionary order
The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower
Application du Groupe Li dans gtsam
Simulation volume leetcode [general] 1414 The minimum number of Fibonacci numbers with a sum of K
进程和线程的理解