{"id":56559,"date":"2015-10-28T05:37:01","date_gmt":"2015-10-28T09:37:01","guid":{"rendered":"http:\/\/www.templatemonster.com\/help\/?p=56559"},"modified":"2015-12-16T05:35:41","modified_gmt":"2015-12-16T10:35:41","slug":"how-to-use-google-chrome-device-emulation-feature","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/how-to-use-google-chrome-device-emulation-feature.html","title":{"rendered":"How to use Google Chrome Device Emulation feature"},"content":{"rendered":"<p>This tutorial will show you how to use <strong>Google Chrome Device Emulation<\/strong> feature. This feature will help you to test your responsive designs by emulating different screen sizes and resolutions.<\/p>\r\n<a href=\"http:\/\/www.youtube.com\/watch?v=GZmE3xfCaAc?width=1280&amp;height=720\" rel=\"prettyPhoto\">How to use Google Chrome Device Emulation feature<\/a>\r\n<h3 class=\"custom\">To enable Device Mode<\/h3>\r\n<ol>\r\n<li><p>Open your website, using <strong>Google Chrome<\/strong> browser.<\/p><\/li>\r\n<li><p>Press <strong>F12<\/strong> to open <strong>Chrome DevTools<\/strong>.<\/p><\/li>\r\n<li><p>Turn on device mode by pressing the <strong>Toggle device mode<\/strong> icon. When device mode is enabled, the icon turns <strong>blue<\/strong> and the viewport transforms into a device emulator:<\/p>\r\n\r\n<a href=\"\/help\/wp-content\/uploads\/2015\/10\/How-to-use-Google-Chrome-Device-Emulation-feature_1.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/10\/How-to-use-Google-Chrome-Device-Emulation-feature_1-300x169.png\" alt=\"How to use Google Chrome Device Emulation feature_1\" width=\"300\" height=\"169\" class=\"aligncenter size-medium wp-image-56560\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/How-to-use-Google-Chrome-Device-Emulation-feature_1-300x169.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/How-to-use-Google-Chrome-Device-Emulation-feature_1-150x84.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/How-to-use-Google-Chrome-Device-Emulation-feature_1-1024x576.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/How-to-use-Google-Chrome-Device-Emulation-feature_1.png 1247w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<\/li>\r\n<li><p>You can also toggle device mode <strong>on\/off<\/strong> using the keyboard shortcut: <\/p>\r\n<p><strong>Ctrl+Shift+M<\/strong> (or <strong>Cmd+Shift+M<\/strong> on Mac). <\/p>\r\n<\/li>\r\n<\/ol>\r\n\r\n\r\n<h3 class=\"custom\">To use Screen Emulator<\/h3>\r\n<p>The screen emulator helps you <strong>test the responsiveness<\/strong> of your website, it has a variety of emulation presets. <\/p>\r\n<ol>\r\n<li><p><strong>Select a model<\/strong> from the preset dropdown to emulate a particular device:<\/p>\r\n\r\n<a href=\"\/help\/wp-content\/uploads\/2015\/10\/How-to-use-Google-Chrome-Device-Emulation-feature_2.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/10\/How-to-use-Google-Chrome-Device-Emulation-feature_2-300x196.png\" alt=\"How to use Google Chrome Device Emulation feature_2\" width=\"300\" height=\"196\" class=\"aligncenter size-medium wp-image-56561\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/How-to-use-Google-Chrome-Device-Emulation-feature_2-300x196.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/How-to-use-Google-Chrome-Device-Emulation-feature_2-150x98.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/How-to-use-Google-Chrome-Device-Emulation-feature_2.png 822w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<p>Each preset automatically configures device emulation in the following ways (sets the <strong>device resolution<\/strong> and <strong>pixel ratio<\/strong>, enables <strong>touch emulation<\/strong>, etc).<\/p><\/li>\r\n<li><p>Alternate between <strong>portrait<\/strong> and <strong>landscape<\/strong> views by clicking the &#8216;Swap Dimensions&#8217; icon. Select the &#8216;Fit checkbox&#8217; radio button to ensure that the emulated screen remains fully visible inside your browser viewport:<\/p>\r\n\r\n<a href=\"\/help\/wp-content\/uploads\/2015\/10\/How-to-use-Google-Chrome-Device-Emulation-feature_3.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/10\/How-to-use-Google-Chrome-Device-Emulation-feature_3-300x286.png\" alt=\"How to use Google Chrome Device Emulation feature_3\" width=\"300\" height=\"286\" class=\"aligncenter size-medium wp-image-56562\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/How-to-use-Google-Chrome-Device-Emulation-feature_3-300x286.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/How-to-use-Google-Chrome-Device-Emulation-feature_3-150x143.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/How-to-use-Google-Chrome-Device-Emulation-feature_3.png 589w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<\/li>\r\n<li><p>To emulate a <strong>custom screen size<\/strong>, manually set the CSS pixel dimensions of the device in the <strong>width<\/strong> and <strong>height<\/strong> fields: <\/p>\r\n\r\n<a href=\"\/help\/wp-content\/uploads\/2015\/10\/How-to-use-Google-Chrome-Device-Emulation-feature_4.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/10\/How-to-use-Google-Chrome-Device-Emulation-feature_4-300x99.png\" alt=\"How to use Google Chrome Device Emulation feature_4\" width=\"300\" height=\"99\" class=\"aligncenter size-medium wp-image-56563\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/How-to-use-Google-Chrome-Device-Emulation-feature_4-300x99.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/How-to-use-Google-Chrome-Device-Emulation-feature_4-150x49.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/How-to-use-Google-Chrome-Device-Emulation-feature_4.png 625w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<\/li>\r\n<\/ol>\r\n\r\n\r\n<h3 class=\"custom\">To Inspect Media queries<\/h3>\r\n<p>Device mode makes media queries readily accessible and easy for you to inspect. <\/p>\r\n<ol>\r\n<li><p>To view the media query inspector, click the <strong>&#8216;Media queries&#8217;<\/strong> icon in the upper left corner of the viewport. The <strong>DevTools<\/strong> detect media queries in your stylesheets and display them as colored bars in the top ruler: <\/p>\r\n\r\n<a href=\"\/help\/wp-content\/uploads\/2015\/10\/How-to-use-Google-Chrome-Device-Emulation-feature_5.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/10\/How-to-use-Google-Chrome-Device-Emulation-feature_5-300x168.png\" alt=\"How to use Google Chrome Device Emulation feature_5\" width=\"300\" height=\"168\" class=\"aligncenter size-medium wp-image-56564\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/How-to-use-Google-Chrome-Device-Emulation-feature_5-300x168.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/How-to-use-Google-Chrome-Device-Emulation-feature_5-150x84.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/How-to-use-Google-Chrome-Device-Emulation-feature_5-1024x572.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/How-to-use-Google-Chrome-Device-Emulation-feature_5.png 1028w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<\/li>\r\n<li><p>Media queries are color-coded as follows: <\/p>\r\n\r\n<a href=\"\/help\/wp-content\/uploads\/2015\/10\/How-to-use-Google-Chrome-Device-Emulation-feature_6.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/10\/How-to-use-Google-Chrome-Device-Emulation-feature_6-300x38.png\" alt=\"How to use Google Chrome Device Emulation feature_6\" width=\"300\" height=\"38\" class=\"aligncenter size-medium wp-image-56565\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/How-to-use-Google-Chrome-Device-Emulation-feature_6-300x38.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/How-to-use-Google-Chrome-Device-Emulation-feature_6-150x19.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/How-to-use-Google-Chrome-Device-Emulation-feature_6.png 838w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<p>Blue: Queries targeting a maximum width;<\/p>\r\n<p>Green: Queries targeting widths within a range;<\/p>\r\n<p>Orange: Queries targeting a minimum width.<\/p>\r\n<\/li>\r\n<li><p>To <strong>preview screen styles<\/strong>, click a <strong>media query bar<\/strong> to adjust the emulator resolution and <strong>preview styles<\/strong> for the targeted screen sizes: <\/p>\r\n\r\n<a href=\"\/help\/wp-content\/uploads\/2015\/10\/How-to-use-Google-Chrome-Device-Emulation-feature_7.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/10\/How-to-use-Google-Chrome-Device-Emulation-feature_7-300x103.png\" alt=\"How to use Google Chrome Device Emulation feature_7\" width=\"300\" height=\"103\" class=\"aligncenter size-medium wp-image-56566\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/How-to-use-Google-Chrome-Device-Emulation-feature_7-300x103.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/How-to-use-Google-Chrome-Device-Emulation-feature_7-150x52.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/How-to-use-Google-Chrome-Device-Emulation-feature_7.png 1014w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<\/li>\r\n<li><p>Right-click a bar to <strong>view where the media query is defined<\/strong> in CSS and<strong> jump to the definition<\/strong> in source code:<\/p>\r\n\r\n<a href=\"\/help\/wp-content\/uploads\/2015\/10\/How-to-use-Google-Chrome-Device-Emulation-feature_8.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/10\/How-to-use-Google-Chrome-Device-Emulation-feature_8-300x199.png\" alt=\"How to use Google Chrome Device Emulation feature_8\" width=\"300\" height=\"199\" class=\"aligncenter size-medium wp-image-56567\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/How-to-use-Google-Chrome-Device-Emulation-feature_8-300x199.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/How-to-use-Google-Chrome-Device-Emulation-feature_8-150x100.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/How-to-use-Google-Chrome-Device-Emulation-feature_8.png 880w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<\/li>\r\n<li><p>To<strong> turn off <\/strong>mobile emulation without exiting device mode, click the <strong>&#8216;Reset all overrides&#8217;<\/strong> icon and refresh the page:<\/p>\r\n\r\n<a href=\"\/help\/wp-content\/uploads\/2015\/10\/How-to-use-Google-Chrome-Device-Emulation-feature_9.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/10\/How-to-use-Google-Chrome-Device-Emulation-feature_9-300x151.png\" alt=\"How to use Google Chrome Device Emulation feature_9\" width=\"300\" height=\"151\" class=\"aligncenter size-medium wp-image-56568\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/How-to-use-Google-Chrome-Device-Emulation-feature_9-300x151.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/How-to-use-Google-Chrome-Device-Emulation-feature_9-150x76.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/How-to-use-Google-Chrome-Device-Emulation-feature_9.png 626w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<\/li>\r\n<li><p>You can even change the <strong>Operation System<\/strong> version of mobile device.<\/p>\r\n<p>Open the DevTools emulation drawer by clicking the <strong>&#8216;More overrides&#8217;<\/strong>  icon in the top right corner of the browser viewport. Then, select <strong>&#8216;Network&#8217;<\/strong> in the emulation drawer: <\/p>\r\n\r\n<a href=\"\/help\/wp-content\/uploads\/2015\/10\/How-to-use-Google-Chrome-Device-Emulation-feature_10.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/10\/How-to-use-Google-Chrome-Device-Emulation-feature_10-300x143.png\" alt=\"How to use Google Chrome Device Emulation feature_10\" width=\"300\" height=\"143\" class=\"aligncenter size-medium wp-image-56569\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/How-to-use-Google-Chrome-Device-Emulation-feature_10-300x143.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/How-to-use-Google-Chrome-Device-Emulation-feature_10-150x71.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/How-to-use-Google-Chrome-Device-Emulation-feature_10-1024x488.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/How-to-use-Google-Chrome-Device-Emulation-feature_10.png 1211w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<\/li>\r\n<\/ol>\r\n<p>We hope this article was useful for you. Feel free to check our detailed video tutorial below.<\/p>\r\n\r\n<a href=\"http:\/\/www.youtube.com\/watch?v=GZmE3xfCaAc?width=1280&amp;height=720\" rel=\"prettyPhoto\">How to use Google Chrome Device Emulation feature<\/a>","protected":false},"excerpt":{"rendered":"<p>This tutorial will show you how to use <strong>Google Chrome Device Emulation<\/strong> feature. This feature will help you to test your responsive designs by emulating different screen sizes and resolutions.<\/p>\n","protected":false},"author":37,"featured_media":56574,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[938],"tags":[2103,2105,2104,1548,929],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/56559"}],"collection":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/users\/37"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=56559"}],"version-history":[{"count":0,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/56559\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/56574"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=56559"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=56559"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=56559"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}