Not able to find “Emulate CSS media” in Google Chrome

前端 未结 3 1059
无人及你
无人及你 2021-01-04 00:37

I\'m trying to set the media query in chrome to go to print. I tried to follow this post - Using Chrome's Element Inspector in Print Preview Mode?

However, I can

相关标签:
3条回答
  • 2021-01-04 00:51

    They move it every so often. At the moment it's in the Rendering panel. To find it:

    1. Open the lower panel (press Esc while in the Developer Tools)

    2. Open the Rendering panel from the dropdown

    3. Select Emulate print media


    0 讨论(0)
  • 2021-01-04 00:59

    It's under any of the tabs where you can open the console in the dev tools (pretty much all of them except for the Console tab). For example under Sources, go to the upper right hand of the tools and click the Show Console icon (the icon that looks like a greater than sign with three vertical bars). That should open the console and you should see the Emulation options.

    0 讨论(0)
  • 2021-01-04 01:02

    For emulating print CSS, it looks like this now, as of Chrome 49, April 2016.

    0 讨论(0)
提交回复
热议问题