When designing for newer iPhones/devices with a notch, I use safe-area-inset-* a lot. I would like to preview what my layout is going to look like on my PC though, because it's sometimes not possible to use a native device. Is there an option in Firefox/Chrome devtools, so that I don't have to go through deploying to staging every time?
There is still (as of September 2025) no way of simulating the notch/nonsafe areas in Chrome or Firefox devtools - although the feature is in development for Chromium.
There aren't any Bugzilla issues for Firefox Devtools.
In the meantime here are two solutions better than deploying to staging:
localhost:/Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/Contents/MacOS/Simulator -CurrentDeviceID 8528838E-4B47-4F0E-B415-E87F8C8A6163
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With