Slightly off topic.
Does anyone know how to get the chrome dev tools to act as though the page was being printed, so it applies those @media rules?
This page seems to say you can:
https://developer.chrome.com/docs/devtools/rendering/emulate-css
But my console doesn't look like that, I don't see the Rendering tab they're talking about.
Thoughts?
n
neokoenig
07/03/2024, 5:02 PM
Click the three dots - you should be able to select render
c
czeller
07/03/2024, 5:05 PM
for me it was: three dots > More tools > Rendering
j
jc
07/03/2024, 6:51 PM
( ctrl | cmd ) + shift + p then type print and you should see the option to emulate CSS print media type
jc
07/03/2024, 6:51 PM
CleanShot 2024-07-03 at 14.51.07@2x.png
d
Dave Merrill
07/03/2024, 7:30 PM
Thank you @jc, that worked.
I saw that Run entry area once, but it's gone now, and I can't figure out how to get it back.
But, the media stuff is near the bottom of the console window, and it works, so I'm good.
Thanks again.
j
jc
07/03/2024, 7:52 PM
The run command menu is accessible by using the keyboard schortcut I mentioned