How to view a website as it appears on mobile safari from desktop safari?
From the Develop menu &gt; Enter Responsive Design Mode  Cmd ⌘   Ctrl ⌃   R 
You can then choose between a selection of devices…
Click for larger image

If you don't have that menu open already, it's in Safari Prefs &gt; Advanced