当前位置:网站首页>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>边栏推荐
- LeetCode 729. 我的日程安排表 I
- 模拟卷Leetcode【普通】1219. 黄金矿工
- 使用Nacos管理配置
- Testing of web interface elements
- [postman] the monitors monitoring API can run periodically
- Simulation volume leetcode [general] 1091 The shortest path in binary matrix
- JWT-JSON WEB TOKEN
- Simulation volume leetcode [general] 1296 Divide an array into a set of consecutive numbers
- Eigen sparse matrix operation
- Idea new UI usage
猜你喜欢

Coordinatorlayout+nestedscrollview+recyclerview pull up the bottom display is incomplete

把el-tree选中的数组转换为数组对象

Caused by:org. gradle. api. internal. plugins . PluginApplicationException: Failed to apply plugin

在uni-app中使用腾讯视频插件播放视频

PAT(乙级)2022年夏季考试

Application of Lie group in gtsam

【Tera Term】黑猫带你学TTL脚本——嵌入式开发中串口自动化神技能

Play video with Tencent video plug-in in uni app

Database isolation level

【Postman】Collections-运行配置之导入数据文件
随机推荐
Reading notes of effective managers
模拟卷Leetcode【普通】1061. 按字典序排列最小的等效字符串
模拟卷Leetcode【普通】1218. 最长定差子序列
Manhattan distance and Manhattan rectangle - print back font matrix
[postman] collections - run the imported data file of the configuration
Summary of the post of "Web Test Engineer"
Web界面元素的测试
二维码的前世今生 与 六大测试点梳理
Postman核心功能解析-参数化和测试报告
Database isolation level
Simulation volume leetcode [general] 1143 Longest common subsequence
JMeter做接口测试,如何提取登录Cookie
【Postman】测试(Tests)脚本编写和断言详解
黑猫带你学UFS协议第4篇:UFS协议栈详解
F - true liars (category and search set +dp)
selenium源码通读·9 |DesiredCapabilities类分析
全链路压测:构建三大模型
【C语言】字符串左旋
Technology sharing | common interface protocol analysis
【MQTT从入门到提高系列 | 01】从0到1快速搭建MQTT测试环境