How to test html file for mobile reaction

I need to test the html file for mobile reaction, but for all the resources that I found for this, I need a URL or a local host, is there a way to check responsiveness only with an html file?

+5
source share
7 answers

Yes, just open the file .htmlwith Chrome or Firefox . These browsers have device mode.

You can resize the screen and see how it looks on the screens of mobile or tablets.

+9
source

.html, Firefox Chrome, Firefox https://www.mozilla.org/it/firefox/developer/

Firefox, → → (Ctrl + Shift + M)

Chrome (Ctrl + Maiusc + + )

.

+2

, .

  • !
  • chrome, mozilla ..
  • .
+1

, - Chrome. . , . , , . , , , ​​.

+1

, . , . URL , 100%.

- , https://serveo.net/ ngrok.

0

Google - , - ! URL / HTML.

Google Mobile-Friendly Test

215bb.jpg

-1

Source: https://habr.com/ru/post/1621132/


All Articles