Bootstrap print CSS removes background color

后端 未结 7 1593
[愿得一人]
[愿得一人] 2020-11-28 12:47

When I use bootstrap, it removes the background color from everthing when I try to print my page. Almost everything on my website is using bootstrap classes so I want to avo

7条回答
  •  孤街浪徒
    2020-11-28 13:04

    You can get this working by removing those lines from bootstrap.css file, there might be a jquery solution to this but it is much more complicated than erasing a few lines. :/

    Or you could use a plugin called html2canvas as presented in this jsfiddle

提交回复
热议问题