我有这个页面: http://linkyourfuture.com/yearpage/?user=119
我正在尝试打印包含多列的整页,但是,打印只能识别移动 CSS。如何为仅打印禁用此功能?
我希望打印时全部在一页上。
提前致谢!
最佳答案
您可以将媒体查询嵌套在@media not print
查询中:
@media not print {
@media only screen and (max-width: 600px) {
// stuff here
}
}
关于javascript - 删除打印媒体查询的优雅方式,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34423237/