Print Stylesheet - Converting inputs to text

后端 未结 7 487
孤独总比滥情好
孤独总比滥情好 2021-01-02 03:59

I\'ve got a table that has some boxes in it, and I want these to show as normal text when printing. I have set up a media=\"print\"

7条回答
  •  鱼传尺愫
    2021-01-02 04:14

    If you are using Bootstrap:

    @media print {
      .no-print {
        display: none !important;
      }
    
      .form-control
      {
        border: 0;
        padding:0;
        overflow:visible;
      }
    }
    

提交回复
热议问题