Twitter Bootstrap - 打印所有标签内容 [英] Twitter Bootstrap - Print all tab content
本文介绍了Twitter Bootstrap - 打印所有标签内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我设置了基本的引导选项卡,没有动态插入的内容,并在我的基本样式表中打印特定的媒体查询.当用户从浏览器打印时,我希望打印所有选项卡内容,而不仅仅是活动选项卡.我知道必须有一个简单的解决方案,我就是想不通.
I have the basic bootstrap tabs set up with no dynamically inserted content and print specific media queries in my base stylesheet. When the user prints from the browser I want all the tab content to print, not just the active tab. I know there has to be an easy solution to this, I just can't figure it out.
推荐答案
在您的印刷媒体查询中试试这个:
try this in your print media query:
.tab-content > .tab-pane {
display: block !important;
opacity: 1 !important;
visibility: visible !important;
}
这篇关于Twitter Bootstrap - 打印所有标签内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文