How do you debug printable CSS?

前端 未结 10 2002
耶瑟儿~
耶瑟儿~ 2020-12-02 18:09

I use Firebug and IE Developer Toolbar all the time to debug tricky CSS problems. But occasionally, a tricky bug comes up that only appears when you go to print the page.

10条回答
  •  一向
    一向 (楼主)
    2020-12-02 18:28

    In chrome developer tools (F12 \ Ctrl(cmd on mac) + Shift + C): In the emulation tab (From Chrome 32 onward IMHO), there is a tab for 'Media'.

    There you can check the media emulation checkbox and select the media you would like to emulate ('print', 'screen' etc.)

提交回复
热议问题