注目の記事 PICK UP

How to emulate and display a mobile device from a PC in Chrome

Last Updated 2021.12.12

How to emulate and display a mobile device from a PC in Chrome

19-chromedev-header
I think the problem with website design is the display test on mobile devices when it is created with responsive design. Since the WordPress theme of this site is also responsive design, it is essential to test the display on mobile devices and tablet devices. At that time, “Developer Tools”, which is a standard function of Chrome, is convenient. This article describes how to emulate a mobile device display with developer tools.

How to use developer tools

19-chromedev-01
After opening Chrome on your PC, open the website you want to test display on your mobile device or the website page of your local environment.
Go to “Google Chrome Settings”-> “Other Tools”-> “Developer Tools” in the upper right corner of Chrome and click. Then the Overview screen will be displayed on the right side of Chrome.

Emulated display method for mobile devices

19-chromedev-02
Click the mobile terminal emulate icon surrounded by the red frame in the upper right of the above figure. Then, the website you are currently viewing will emulate what it looks like when displayed on a mobile device.
You can select the mobile device you want to emulate by clicking the pull-down list of devices to emulate in the upper left of the above figure. By setting the selection item of the mobile terminal to “Responsive”, you can also check the breakpoint when making a responsive design.

On this site, the breakpoint between the layout for PC and the layout for mobile is 770px. This layout for PC and layout for mobile can be set only with CSS, but it seems that javascript is often used together to set breakpoints dynamically. The theme of this site also acquired the window size with javascript and divided the processing according to whether it was 770px or more or less.

If you want to study, right-click from Chrome → click “View Page Source”, click the link to the “.css” “.js” file from the HTML source of the WEB page, and open it in Chrome to open CSS. You can see the contents and the contents of js. Please utilize the display of the page source as a reference for WEB production.

What is Reset CSS - The Basics of Web Production
Reset CSS is required when designing mainly for WordPress themes and web production. I will explain what this reset CSS is and explain it as a tips useful in the field of customizing wordpress themes and web production.

スポンサードリンク

Related post

  1. 11-wordpressfirst-aicache

    What is AMP that improves mobile usability?

  2. 30-wpsitemap-aicache

    Generate user-friendly sitemaps in WP Sitemap Page…

  3. 02-02-csspseudoclass-aicache

    I have a feeling that the rental server will becom…

  4. 05-05-sxomarketing-aicache

    SEO measures from -2022 to realize SXO search expe…

  5. 09-wordpressfirst-aicache

    Work with Google services with Site Kit by Google

  6. 13-wordpressfirst-aicache

    How to set up amp for WP in detail – Design

  7. 26-gdpr-aicache

    Protect the personal information of users in the E…

  8. 20-marketing-aicache

    Marketing Definition-From Consumer-Oriented to Val…

  9. 18-resetcss-aicache

    What is Reset CSS – The Basics of Web Produc…

スポンサードリンク

Featured Posts

  1. 05-05-sxomarketing-aicache SEO measures from -2022 to realize SXO s…
  2. 05-03-aboutsxo-aicache What is SXO Search Experience Optimizati…
  3. 26-gdpr-aicache Protect the personal information of user…
  4. 02-wordpressfirst-header Settings to install WordPress and do it …
  5. 17-postandpage-aicache Differences between WordPress post pages…
  6. 04-wordpressfirst-aicache Settings to install WordPress and do it …
  7. 05-wordpressfirst-aicache Settings to install WordPress and do it …
  8. 13-wordpressfirst-aicache How to set up amp for WP in detail ̵…
  9. 19-chromedev-aicache How to emulate and display a mobile devi…
  10. 01-wordpressfirst-aicache Settings to install WordPress and do it …

PICK UP posts

  1. 20-marketing-aicache Marketing Definition-From Consumer-Orien…
  2. 07-wordpressfirst-aicache The new block editor is difficult to use…
  3. 01-wordpressfirst-aicache Settings to install WordPress and do it …
  4. 35-newthemeupdate-aicache WordPress external themes can now be upd…
  5. 08-wordpress-header Easy Way to Set Up WordPress – COR…
  6. 09-wordpressfirst-aicache Work with Google services with Site Kit …
  7. 06-wordpressfirst-aicache Prevent unauthorized WordPress logins wi…
  8. 19-chromedev-aicache How to emulate and display a mobile devi…
  9. 30-wpsitemap-aicache Generate user-friendly sitemaps in WP Si…
  10. 29-complianzgdpr-aicache UK GDPR is even tougher-Complianz GDPR &…

Popular posts

  1. 25-marketing-aicache
  2. 16-onamae-aicache
  3. 18-resetcss-aicache
  4. 05-05-sxomarketing-aicache
  5. 29-complianzgdpr-aicache
  6. 35-newthemeupdate-aicache
  7. 19-chromedev-aicache
  8. 14-wordpress-aicache
  9. 11-wordpressfirst-aicache
  10. 02-wordpressfirst-header

Latest posts

  1. 17-postandpage-aicache
  2. 02-02-csspseudoclass-aicache
  3. 25-marketing-aicache
  4. 35-newthemeupdate-aicache
  5. 05-03-aboutsxo-aicache
  6. 05-05-sxomarketing-aicache
  7. 20-marketing-aicache
  8. 29-complianzgdpr-aicache
  9. 26-gdpr-aicache
  10. 19-chromedev-aicache

Recommend posts

  1. 14-wordpress-aicache
  2. 05-wordpressfirst-aicache
  3. 11-wordpressfirst-aicache
  4. 07-wordpressfirst-aicache
  5. 03-wordpressfirst-aicache
  6. 29-complianzgdpr-aicache
  7. 05-03-aboutsxo-aicache
  8. 05-05-sxomarketing-aicache
  9. 30-wpsitemap-aicache
  10. 04-wordpressfirst-aicache
PAGE TOP