Friday, May 18, 2018

Bootstrap 3 is going to have a print.less file.

It's going to start out like this...

@media print {
   *,
   *:before,
   *:after {
      background: transparent !important;
      color: #000 !important;
      box-shadow: none !important;
      text-shadow: none !important;
   }

 
 

...and you have to mess with it to get it not to print your web site to a PDF in black and white. I don't really understand it yet. A coworker puts color hex code in for the color and the background and somehow that works for him. Crazy! I do not see how that even compiles.

No comments:

Post a Comment